diff options
author | Jean-Christophe Saad-Dupuy <saad.dupuy@gmail.com> | 2013-10-08 13:04:05 +0200 |
---|---|---|
committer | Jean-Christophe Saad-Dupuy <saad.dupuy@gmail.com> | 2013-10-08 13:04:05 +0200 |
commit | 20f00edd1539b18d4d350da27f338f4743fb38b3 (patch) | |
tree | d91fe9786cff14f0b458c7914d854e5902ea2fe4 /inc/poche/Database.class.php | |
parent | 2f3425dff699dee249bd223ad564395e254552f4 (diff) | |
parent | 5188585864949d939b083d87dcea1e310d588a30 (diff) | |
download | wallabag-20f00edd1539b18d4d350da27f338f4743fb38b3.tar.gz wallabag-20f00edd1539b18d4d350da27f338f4743fb38b3.tar.zst wallabag-20f00edd1539b18d4d350da27f338f4743fb38b3.zip |
Merge branch 'dev' into emded-dependencies
Diffstat (limited to 'inc/poche/Database.class.php')
-rw-r--r-- | 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 0662581b..5c40b026 100644 --- a/inc/poche/Database.class.php +++ b/inc/poche/Database.class.php | |||
@@ -108,8 +108,8 @@ class Database { | |||
108 | public function updatePassword($userId, $password) | 108 | public function updatePassword($userId, $password) |
109 | { | 109 | { |
110 | $sql_update = "UPDATE users SET password=? WHERE id=?"; | 110 | $sql_update = "UPDATE users SET password=? WHERE id=?"; |
111 | $params_update = array($password, $id); | 111 | $params_update = array($password, $userId); |
112 | $this->updateUserConfig($userId, 'password', $password); | 112 | $query = $this->executeQuery($sql_update, $params_update); |
113 | } | 113 | } |
114 | 114 | ||
115 | public function updateUserConfig($userId, $key, $value) { | 115 | public function updateUserConfig($userId, $key, $value) { |