summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e411c7e)
raw | patch | inline | side by side (parent: e411c7e)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Jul 2009 14:36:12 +0000 (14:36 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Jul 2009 14:36:12 +0000 (14:36 +0000) |
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
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
trunk/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc | patch | blob | history |
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 0337e49faed720341b41db8fb73bcf21ae0ab2ae..17e92cdd65236f95966931e0104add894db9bb5e 100644 (file)
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;