From: cajus Date: Mon, 26 Jun 2006 05:20:44 +0000 (+0000) Subject: Made self tagging work for non-tagged departments X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cbeba4b665894e5da649ba2a52f6cc3744dff558;p=gosa.git Made self tagging work for non-tagged departments git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3883 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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);