diff options
author | alecpl <alec@alec.pl> | 2011-09-20 09:36:08 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-09-20 09:36:08 +0000 |
commit | 015decf8152128c976cf31f6d642f741a4226d60 (patch) | |
tree | 1eb48b80ccac2447f1ff2d679cfb67730f84cac3 /program/include/rcube_ldap.php | |
parent | f763fbd56c1fc7db8a41692431057f7d72882025 (diff) |
- Fix listing contacts in a group
Diffstat (limited to 'program/include/rcube_ldap.php')
-rw-r--r-- | program/include/rcube_ldap.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php index 87472d1b2..c6ca88e5e 100644 --- a/program/include/rcube_ldap.php +++ b/program/include/rcube_ldap.php @@ -77,7 +77,7 @@ class rcube_ldap extends rcube_addressbook $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 @@ class rcube_ldap extends rcube_addressbook */ function list_groups($search = null) { - global $RCMAIL; - if (!$this->groups) return array(); |