diff options
author | thomascube <thomas@roundcube.net> | 2011-04-25 08:31:43 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-04-25 08:31:43 +0000 |
commit | 80809d6a9de193e69aae126a8714a3d53ba0b976 (patch) | |
tree | 87fb676a7f559e6585bc032cbb8c291033ee3b2f | |
parent | 5c2f06488248fa9f9fd9067eda139ca4759a8b43 (diff) |
Don't show saving error if no data changed
-rw-r--r-- | program/include/rcube_user.php | 2 |
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; |