summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcube_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php
index c9936d619..e6ec46159 100644
--- a/program/include/rcube_user.php
+++ b/program/include/rcube_user.php
@@ -154,7 +154,7 @@ class rcube_user
$this->language = $_SESSION['language'];
- if ($this->db->affected_rows()) {
+ if ($this->db->affected_rows() !== false) {
$config->set_user_prefs($a_user_prefs);
$this->data['preferences'] = $save_prefs;
return true;