From: cajus Date: Mon, 10 Jul 2006 11:30:38 +0000 (+0000) Subject: Fixed problem with tagged objects X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=50aa8d1b1de747910d6e8524d273eebb234d0b3d;p=gosa.git Fixed problem with tagged objects git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4073 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index 830f81e44..f153ff221 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'){