From 00d11e42a0c867bfbd1e7f611edbf47f27992336 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 26 Jun 2006 05:28:50 +0000 Subject: [PATCH] Fixed department creation with tagging git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3884 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/departments/class_departmentGeneric.inc | 5 +++++ 1 file changed, 5 insertions(+) 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(); -- 2.30.2