From cbeba4b665894e5da649ba2a52f6cc3744dff558 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 26 Jun 2006 05:20:44 +0000 Subject: [PATCH] Made self tagging work for non-tagged departments git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3883 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 17efca80a..3df4f4a3e 100644 --- a/plugins/admin/departments/class_departmentGeneric.inc +++ b/plugins/admin/departments/class_departmentGeneric.inc @@ -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); -- 2.30.2