From: psc Date: Wed, 25 Feb 2009 11:55:06 +0000 (+0000) Subject: Don't take ->initially_was_account into account, when checking weither a ppd was... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1febb54ccbd90fe6d32acdcc3bbba160845d0d50;p=gosa.git 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 --- 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();