From: cajus Date: Mon, 10 Jul 2006 11:30:25 +0000 (+0000) Subject: Fixed problem with tagging X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ac742045742ba2124f58994386c3e1a6e0e00394;p=gosa.git Fixed problem with tagging git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4072 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index 156dfd477..8d4d00a87 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -712,6 +712,10 @@ class printgeneric extends plugin $this->attrs['gotoGroupAdminPrinter'][]=$mem['cn'][0]; } + if(($this->gosaUnitTag) && (!in_array_ics("gosaAdministrativeUnitTag",$this->attrs['objectClass']))){ + $this->attrs['objectClass'][] = "gosaAdministrativeUnitTag"; + } + /* Write back to ldap */ $ldap= $this->config->get_ldap_link(); if ($this->orig_dn == 'new'){