summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-04-25 08:31:43 +0000
committerthomascube <thomas@roundcube.net>2011-04-25 08:31:43 +0000
commit80809d6a9de193e69aae126a8714a3d53ba0b976 (patch)
tree87fb676a7f559e6585bc032cbb8c291033ee3b2f /program/include
parent5c2f06488248fa9f9fd9067eda139ca4759a8b43 (diff)
Don't show saving error if no data changed
Diffstat (limited to 'program/include')
-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;