diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/poche/Database.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Database.class.php b/inc/poche/Database.class.php index 04731821..48ec5abf 100644 --- a/inc/poche/Database.class.php +++ b/inc/poche/Database.class.php | |||
@@ -193,7 +193,7 @@ class Database { | |||
193 | public function updateUserConfig($userId, $key, $value) { | 193 | public function updateUserConfig($userId, $key, $value) { |
194 | $config = $this->getConfigUser($userId); | 194 | $config = $this->getConfigUser($userId); |
195 | 195 | ||
196 | if (!isset ($user_config[$key])) { | 196 | if (! isset($config[$key])) { |
197 | $sql = "INSERT INTO users_config (value, user_id, name) VALUES (?, ?, ?)"; | 197 | $sql = "INSERT INTO users_config (value, user_id, name) VALUES (?, ?, ?)"; |
198 | } | 198 | } |
199 | else { | 199 | else { |