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

trac at roundcube.net trac at roundcube.net
Tue Sep 20 11:36:08 CEST 2011


Author: alec
Date: 2011-09-20 04:36:08 -0500 (Tue, 20 Sep 2011)
New Revision: 5249

Modified:
   trunk/roundcubemail/program/include/rcube_ldap.php
Log:
- Fix listing contacts in a group


Modified: trunk/roundcubemail/program/include/rcube_ldap.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_ldap.php	2011-09-20 08:09:52 UTC (rev 5248)
+++ trunk/roundcubemail/program/include/rcube_ldap.php	2011-09-20 09:36:08 UTC (rev 5249)
@@ -77,7 +77,7 @@
             $this->groups = true;
             // set member field
             if (!empty($p['groups']['member_attr']))
-                $this->prop['member_attr'] = $p['groups']['member_attr'];
+                $this->prop['member_attr'] = strtolower($p['groups']['member_attr']);
             else if (empty($p['member_attr']))
                 $this->prop['member_attr'] = 'member';
         }
@@ -1101,8 +1101,6 @@
      */
     function list_groups($search = null)
     {
-        global $RCMAIL;
-
         if (!$this->groups)
             return array();
 

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



More information about the Svn mailing list