Code

Added isset, to avoid errors
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Nov 2005 11:06:26 +0000 (11:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Nov 2005 11:06:26 +0000 (11:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1876 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiPackage.inc

index 23fa9fbf34c721bc250adccc3513ca9b39885fcc..a00c1fdcfffd2e5138d0cc1d5086dd795d3efe6b 100644 (file)
@@ -75,7 +75,7 @@ class faiPackage extends plugin
       $this->usedPackages = array();
     }  
 
-    if ($this->attrs['FAIdebianSection']['count']){
+    if (isset($this->attrs['FAIdebianSection']['count'])){
       unset($this->attrs['FAIdebianSection']['count']);
     }
     if((isset($this->attrs['FAIdebianSection']))&&(is_array($this->attrs['FAIdebianSection']))){