Code

Fixed department creation with tagging
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Jun 2006 05:28:50 +0000 (05:28 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Jun 2006 05:28:50 +0000 (05:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3884 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/departments/class_departmentGeneric.inc

index 7433afbe42e1fc39a729ec226a60185d5af67b38..ee0e39fecdb354c14873e9f7fe075c465b808aa6 100644 (file)
@@ -328,6 +328,11 @@ class department extends plugin
     /* The parameter forces only to set must_be_tagged, and don't touch any objects 
         This will be done later */
     $this->tag_objects(true);
+
+    /* Fix tagging if needed */
+    if (!$this->is_administrational_unit){
+      $this->handle_object_tagging();
+    }
     
     /* Optionally execute a command after we're done */
                $this->postcreate();