diff options
author | thomascube <thomas@roundcube.net> | 2011-11-28 15:55:21 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-11-28 15:55:21 +0000 |
commit | b4b3777c92457cd2caf6a988e530942f70bc4f54 (patch) | |
tree | d71c7dd2b65bc72ccc39f011796dbaf4e4fea6ae /program | |
parent | 3633f09b75ae22601cc5ae6dfe50954b53d04681 (diff) |
Set (empty) value of member attribute when creating a new group
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_ldap.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php index 92db189d0..cc122e706 100644 --- a/program/include/rcube_ldap.php +++ b/program/include/rcube_ldap.php @@ -1602,11 +1602,13 @@ class rcube_ldap extends rcube_addressbook $base_dn = $this->groups_base_dn; $new_dn = "cn=$group_name,$base_dn"; $new_gid = self::dn_encode($group_name); + $member_attr = $this->prop['groups']['member_attr']; $name_attr = $this->prop['groups']['name_attr']; $new_entry = array( 'objectClass' => $this->prop['groups']['object_classes'], $name_attr => $group_name, + $member_attr => '', ); $this->_debug("C: Add [dn: $new_dn]: ".print_r($new_entry, true)); |