From 9c909d3d126b5d73a1415d4b1c261b8577452b5b Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 12 Apr 2010 09:15:04 +0000 Subject: [PATCH] Fixed ppd selection warnings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17583 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.30.2