From 10d8fdedbc3b9b2e3e10760772df842841b98d8f Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 28 Mar 2008 09:57:35 +0000 Subject: [PATCH] Fixed printer Saving git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10054 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_printGeneric.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc index 01c9c349c..9e049f15b 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc @@ -40,7 +40,7 @@ class printgeneric extends plugin /* attribute list for save action */ var $attributes = array("cn", "description", "l", "labeledURI", "gotoPrinterPPD","gotoUserPrinter", "macAddress", - "gotoUserAdminPrinter","gotoGroupAdminPrinter","gotoUserPrinter","gotoGroupPrinter"); + "gotoUserAdminPrinter","gotoGroupAdminPrinter","gotoUserPrinter","gotoGroupPrinter","gosaUnitTag"); var $objectclasses = array("top", "gotoPrinter"); var $view_logged = FALSE; var $parent; @@ -764,12 +764,13 @@ class printgeneric extends plugin } $dn= $this->dn; - plugin::save(); - $ldap= $this->config->get_ldap_link(); /* reduce objectClasses to minimun */ $this->attrs['objectClass']= $this->objectclasses; + plugin::save(); + $ldap= $this->config->get_ldap_link(); + /* Remove all empty values */ if ($this->orig_dn == 'new'){ $attrs= array(); -- 2.30.2