diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-09-20 09:36:08 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-09-20 09:36:08 +0000 |
| commit | ea79845b73f9fbc663c1fc8d3fc9463c3fe0a8f2 (patch) | |
| tree | 8200f721af433e909b29ee6634424b9f5a1dbb41 /roundcubemail/program/include | |
| parent | c0df10be803600246293729842ba68c913bfff4a (diff) | |
- Fix listing contacts in a group
git-svn-id: https://svn.roundcube.net/trunk@5249 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcube_ldap.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php index 87472d1b2..c6ca88e5e 100644 --- a/roundcubemail/program/include/rcube_ldap.php +++ b/roundcubemail/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(); |
