summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-25 08:31:43 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-25 08:31:43 +0000
commit8214100be489978ecf7595c8ad148dc32e38e342 (patch)
treef98de8f96bf27190876f96326af9b33104006228
parentdc97e69bc4b6427daeb8127f3e6967027ddae5d0 (diff)
Don't show saving error if no data changed
git-svn-id: https://svn.roundcube.net/trunk@4692 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/include/rcube_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_user.php b/roundcubemail/program/include/rcube_user.php
index c9936d619..e6ec46159 100644
--- a/roundcubemail/program/include/rcube_user.php
+++ b/roundcubemail/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;