From 8214100be489978ecf7595c8ad148dc32e38e342 Mon Sep 17 00:00:00 2001 From: thomasb Date: Mon, 25 Apr 2011 08:31:43 +0000 Subject: Don't show saving error if no data changed git-svn-id: https://svn.roundcube.net/trunk@4692 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/include/rcube_user.php') 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; -- cgit v1.2.3