From: hickert Date: Tue, 11 Mar 2008 12:01:02 +0000 (+0000) Subject: Updated tagging X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a99f4d58066ed84d8e2945d4574825d6dca66d10;p=gosa.git Updated tagging -It tags more than one entry again, but it is very slow. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9672 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc index 142ebdd5e..390db7341 100644 --- a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc +++ b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc @@ -425,7 +425,11 @@ class department extends plugin $ldap->search('objectClass=gosaAdministrativeUnitTag', array('dn')); } + $objects = array(); while ($attrs= $ldap->fetch()){ + $objects[] = $attrs; + } + foreach($objects as $attrs){ /* Skip self */ if ($attrs['dn'] == $this->dn){