From 1febb54ccbd90fe6d32acdcc3bbba160845d0d50 Mon Sep 17 00:00:00 2001 From: psc Date: Wed, 25 Feb 2009 11:55:06 +0000 Subject: [PATCH] Don't take ->initially_was_account into account, when checking weither a ppd was selected, because this leads to removing a selected ppd when creating a new printer object git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13454 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 377f6c4b1..b907bd983 100644 --- a/trunk/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc +++ b/trunk/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc @@ -785,7 +785,7 @@ class printgeneric extends plugin } /* If no ppd is selected, remove this attribute */ - if(!empty($this->gotoPrinterPPD) && $this->initially_was_account) { + if(!empty($this->gotoPrinterPPD)) { $this->gotoPrinterPPD = $method.str_replace("//","/",$server_name."/ppd/".$this->gotoPrinterPPD); }else{ $this->gotoPrinterPPD = array(); -- 2.30.2