Fix accidental key replacements

pull/175/head
Thomas Bruederli 11 years ago
parent b08306ec1f
commit a2cf7c41b9

@ -95,8 +95,8 @@ class rcube_ldap extends rcube_addressbook
if (empty($this->prop['groups']['scope'])) if (empty($this->prop['groups']['scope']))
$this->prop['groups']['scope'] = 'sub'; $this->prop['groups']['scope'] = 'sub';
// extend group objectclass => member attribute mapping // extend group objectclass => member attribute mapping
if (!empty($this->prop['groups']['event-panel-summary'])) if (!empty($this->prop['groups']['class_member_attr']))
$this->group_types = array_merge($this->group_types, $this->prop['groups']['event-panel-summary']); $this->group_types = array_merge($this->group_types, $this->prop['groups']['class_member_attr']);
// add group name attrib to the list of attributes to be fetched // add group name attrib to the list of attributes to be fetched
$fetch_attributes[] = $this->prop['groups']['name_attr']; $fetch_attributes[] = $this->prop['groups']['name_attr'];

Loading…
Cancel
Save