[Svn] r4692 - trunk/roundcubemail/program/include

trac at roundcube.net trac at roundcube.net
Mon Apr 25 10:31:43 CEST 2011


Author: thomasb
Date: 2011-04-25 03:31:43 -0500 (Mon, 25 Apr 2011)
New Revision: 4692

Modified:
   trunk/roundcubemail/program/include/rcube_user.php
Log:
Don't show saving error if no data changed

Modified: trunk/roundcubemail/program/include/rcube_user.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_user.php	2011-04-25 06:33:29 UTC (rev 4691)
+++ trunk/roundcubemail/program/include/rcube_user.php	2011-04-25 08:31:43 UTC (rev 4692)
@@ -154,7 +154,7 @@
 
         $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;

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list