From 50aa8d1b1de747910d6e8524d273eebb234d0b3d Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 10 Jul 2006 11:30:38 +0000 Subject: [PATCH] Fixed problem with tagged objects git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4073 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 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'){ -- 2.30.2