Code

Updated tagging
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 12:01:02 +0000 (12:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 12:01:02 +0000 (12:01 +0000)
-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

gosa-core/plugins/admin/departments/class_departmentGeneric.inc

index 142ebdd5e1fa57cf804c6130e5c879856872418e..390db7341d2ce0ad547a3571962b65d367a9633a 100644 (file)
@@ -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){