From f6006364257028a071b9b19734e8f468c37f34ec Mon Sep 17 00:00:00 2001 From: psc Date: Mon, 13 Jul 2009 14:36:12 +0000 Subject: [PATCH] Followup commit for r13729 Handle moving of printers properly, by comparing the CN instead of the full DN. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13927 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc b/trunk/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc index 0337e49fa..17e92cdd6 100644 --- a/trunk/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc +++ b/trunk/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc @@ -778,7 +778,7 @@ class printgeneric extends plugin if($this->PPDdialogToSave && is_object($this->PPDdialogToSave)){ $this->PPDdialogToSave->save_ppd(); } - if($this->orig_dn != "new" && $this->orig_dn != $this->dn){ + if($this->orig_dn != "new" && $this->orig_cn != $this->cn){ if(!empty($this->gotoPrinterPPD)) { $this->PPDdialogToSave = new printerPPDDialog($this->config, $this->dn,$this->gotoPrinterPPD); $this->PPDdialogToSave->cn = $this->cn; -- 2.30.2