From ac742045742ba2124f58994386c3e1a6e0e00394 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 10 Jul 2006 11:30:25 +0000 Subject: [PATCH] Fixed problem with tagging git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4072 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_printGeneric.inc | 4 ++++ 1 file changed, 4 insertions(+) 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'){ -- 2.30.2