Code

Don't take ->initially_was_account into account, when checking weither a ppd was...
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 Feb 2009 11:55:06 +0000 (11:55 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 Feb 2009 11:55:06 +0000 (11:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13454 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc

index 377f6c4b1c5029e83c90211e85d3f3ceac232bd4..b907bd98303229ab6c1b91b7f472282ad7dd669c 100644 (file)
@@ -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();