Code

Updated add/remove for tags
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Mar 2008 14:16:19 +0000 (14:16 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Mar 2008 14:16:19 +0000 (14:16 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9595 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index c3a15fdb7000ccc0f3903c0f730ff64a5aabf449..142ebdd5e1fa57cf804c6130e5c879856872418e 100644 (file)
@@ -345,7 +345,7 @@ class department extends plugin
       }
     }
     if ($has_unit_tag == false && $this->is_administrational_unit == false){
-      unset ($this->attrs['gosaUnitTag']);
+      $this->attrs['gosaUnitTag']= array();
     } else {
       $this->attrs['gosaUnitTag']= $this->gosaUnitTag;
     }