From: cajus Date: Mon, 26 Jun 2006 05:28:50 +0000 (+0000) Subject: Fixed department creation with tagging X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=00d11e42a0c867bfbd1e7f611edbf47f27992336;p=gosa.git Fixed department creation with tagging git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3884 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc index 7433afbe4..ee0e39fec 100644 --- a/plugins/admin/departments/class_departmentGeneric.inc +++ b/plugins/admin/departments/class_departmentGeneric.inc @@ -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();