From: hickert Date: Tue, 8 Nov 2005 11:06:26 +0000 (+0000) Subject: Added isset, to avoid errors X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0d16f65fad238582e2f6e46b03aaf4d7d7dfe50d;p=gosa.git Added isset, to avoid errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1876 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiPackage.inc b/plugins/admin/fai/class_faiPackage.inc index 23fa9fbf3..a00c1fdcf 100644 --- a/plugins/admin/fai/class_faiPackage.inc +++ b/plugins/admin/fai/class_faiPackage.inc @@ -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']))){