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

trac at roundcube.net trac at roundcube.net
Thu Apr 21 10:20:28 CEST 2011


Author: alec
Date: 2011-04-21 03:20:28 -0500 (Thu, 21 Apr 2011)
New Revision: 4682

Modified:
   trunk/roundcubemail/program/include/rcmail.php
Log:
- Set proper readonly state of default address book according to real readonly variable value (#1487878)


Modified: trunk/roundcubemail/program/include/rcmail.php
===================================================================
--- trunk/roundcubemail/program/include/rcmail.php	2011-04-21 07:21:14 UTC (rev 4681)
+++ trunk/roundcubemail/program/include/rcmail.php	2011-04-21 08:20:28 UTC (rev 4682)
@@ -383,7 +383,7 @@
         'id' => '0',
         'name' => rcube_label('personaladrbook'),
         'groups' => $this->address_books['0']->groups,
-        'readonly' => false,
+        'readonly' => $this->address_books['0']->readonly,
         'autocomplete' => in_array('sql', $autocomplete)
       );
     }
@@ -411,7 +411,7 @@
       if ($writeable && $item['readonly'])
           unset($list[$idx]);
     }
-    
+
     return $list;
   }
 

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



More information about the Svn mailing list