From a99f4d58066ed84d8e2945d4574825d6dca66d10 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 Mar 2008 12:01:02 +0000 Subject: [PATCH] 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 --- .../plugins/admin/departments/class_departmentGeneric.inc | 4 ++++ 1 file changed, 4 insertions(+) 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){ -- 2.30.2