Code

Don't take ->initially_was_account into account, when checking weither a ppd was...
[gosa.git] / 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();