summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3d7ccd2)
raw | patch | inline | side by side (parent: 3d7ccd2)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Jun 2009 12:57:11 +0000 (12:57 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Jun 2009 12:57:11 +0000 (12:57 +0000) |
'new' properly (without copying empty files)
(Trac: #2715)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13729 594d385d-05f5-0310-b6e9-bd551577e9d8
(Trac: #2715)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13729 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 fb04c577254fb29f5bb7e74c402760f3f79bb056..0337e49faed720341b41db8fb73bcf21ae0ab2ae 100644 (file)
if($this->PPDdialogToSave && is_object($this->PPDdialogToSave)){
$this->PPDdialogToSave->save_ppd();
}
- if($this->orig_dn != $this->dn){
+ if($this->orig_dn != "new" && $this->orig_dn != $this->dn){
if(!empty($this->gotoPrinterPPD)) {
$this->PPDdialogToSave = new printerPPDDialog($this->config, $this->dn,$this->gotoPrinterPPD);
$this->PPDdialogToSave->cn = $this->cn;