From 690cc5b1ae27e1d3e7b75b0934662ce089947d85 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 24 Feb 2010 09:55:47 +0000 Subject: [PATCH] Mixed up ocs -Fixed git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15683 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], -- 2.30.2