summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0623a7b)
raw | patch | inline | side by side (parent: 0623a7b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Jul 2006 11:34:43 +0000 (11:34 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Jul 2006 11:34:43 +0000 (11:34 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4326 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_printGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc
index e60cd78f6598ea56307badf64304d504acbc8e62..0d285eb70ca066fe000ef2f64839fdae3e68a779 100644 (file)
$this->attrs['objectClass'][] = "gosaAdministrativeUnitTag";
}
+ if($this->orig_dn == 'new'){
+ foreach(array("gotoGroupPrinter","gotoUserAdminPrinter","gotoGroupAdminPrinter","gotoUserPrinter") as $checkVar){
+ if(count($this->attrs[$checkVar]) == 0 || empty($this->attrs[$checkVar])){
+ unset($this->attrs[$checkVar]);
+ }
+ }
+ }
/* Write back to ldap */
$ldap= $this->config->get_ldap_link();