From: hickert Date: Mon, 12 Apr 2010 09:15:04 +0000 (+0000) Subject: Fixed ppd selection warnings X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9c909d3d126b5d73a1415d4b1c261b8577452b5b;p=gosa.git Fixed ppd selection warnings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17583 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc b/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc index a3d7cc7ef..cbf797921 100644 --- a/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc +++ b/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc @@ -371,6 +371,8 @@ class printerPPDDialog extends plugin if(preg_match("#".preg_quote($this->pathToModified,'#')."#",$file)) continue; + if(!isset($ppd['manufacturer'])) continue; + if(!isset($this->ppdListHeader[$ppd['manufacturer']])){ $this->ppdListHeader[$ppd['manufacturer']]=0; }