Code

Fixed ppd selection warnings
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 12 Apr 2010 09:15:04 +0000 (09:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 12 Apr 2010 09:15:04 +0000 (09:15 +0000)
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

index a3d7cc7efe4bf2a51775868ff0ff9b65e34e9413..cbf797921e73f441eb6f2576b35a90388605bc33 100644 (file)
@@ -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;
         }