Code

Made self tagging work for non-tagged departments
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Jun 2006 05:20:44 +0000 (05:20 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Jun 2006 05:20:44 +0000 (05:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3883 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/departments/class_departmentGeneric.inc

index 17efca80a22263730935585e70e710f3ee97ada6..3df4f4a3ec381ad62ed635619b69b24538e036de 100644 (file)
@@ -332,6 +332,11 @@ class department extends plugin
                }
                show_ldap_error($ldap->get_error(), _("Saving department failed"));
 
+    /* Fix tagging if needed */
+    if (!$this->is_administrational_unit){
+      $this->handle_object_tagging();
+    }
+
     /* Optionally execute a command after we're done */
                $this->postcreate();
     return(true);