From: hickert Date: Wed, 24 Feb 2010 09:55:47 +0000 (+0000) Subject: Mixed up ocs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=690cc5b1ae27e1d3e7b75b0934662ce089947d85;p=gosa.git Mixed up ocs -Fixed git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15683 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index e854884a4..e75ced181 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -1041,7 +1041,7 @@ class plugin // Update 'manager' attributes from gosaDepartment and inetOrgPerson $filter = "(&(objectClass=inetOrgPerson)(manager=".LDAP::prepare4filter(LDAP::fix($src_dn))."))"; $ocs = $ldap->get_objectclasses(); - if(isset($ocs['gosaDepartment']['MAY']) && in_array('manager', $ocs['inetOrgPerson']['MAY'])){ + if(isset($ocs['gosaDepartment']['MAY']) && in_array('manager', $ocs['gosaDepartment']['MAY'])){ $filter = "(|".$filter."(&(objectClass=gosaDepartment)(manager=".LDAP::prepare4filter(LDAP::fix($src_dn)).")))"; } $leaf_deps= get_list($filter,array("all"),$this->config->current['BASE'],