diff options
author | tcit <tcit@tcit.fr> | 2014-09-28 17:31:02 +0200 |
---|---|---|
committer | tcit <tcit@tcit.fr> | 2014-09-28 17:31:02 +0200 |
commit | ffcd442989d743e6e0c8e27a24ce9fdeefb277fc (patch) | |
tree | f8ff66aba36c3d6dcc570f75e7f08ce783d4709b /inc/poche/Database.class.php | |
parent | a0822259e76fb5a52d268ba1671d13e0e512af94 (diff) | |
parent | 2e8625c25fa603d0d870bf2f90821e900be27fd0 (diff) | |
download | wallabag-ffcd442989d743e6e0c8e27a24ce9fdeefb277fc.tar.gz wallabag-ffcd442989d743e6e0c8e27a24ce9fdeefb277fc.tar.zst wallabag-ffcd442989d743e6e0c8e27a24ce9fdeefb277fc.zip |
get up to date for merge
Diffstat (limited to 'inc/poche/Database.class.php')
-rwxr-xr-x | inc/poche/Database.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/poche/Database.class.php b/inc/poche/Database.class.php index dfd7ae34..b5dd2120 100755 --- a/inc/poche/Database.class.php +++ b/inc/poche/Database.class.php | |||
@@ -117,10 +117,10 @@ class Database { | |||
117 | $query = $this->executeQuery($sql, array()); | 117 | $query = $this->executeQuery($sql, array()); |
118 | } | 118 | } |
119 | 119 | ||
120 | public function install($login, $password) | 120 | public function install($login, $password, $email = '') |
121 | { | 121 | { |
122 | $sql = 'INSERT INTO users ( username, password, name, email) VALUES (?, ?, ?, ?)'; | 122 | $sql = 'INSERT INTO users ( username, password, name, email) VALUES (?, ?, ?, ?)'; |
123 | $params = array($login, $password, $login, ' '); | 123 | $params = array($login, $password, $login, $email); |
124 | $query = $this->executeQuery($sql, $params); | 124 | $query = $this->executeQuery($sql, $params); |
125 | 125 | ||
126 | $sequence = ''; | 126 | $sequence = ''; |