From: cajus Date: Tue, 8 Nov 2005 09:56:48 +0000 (+0000) Subject: Fixed unset X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=549cdb7b03510fb6875ab2aeb0c36dc85d83a7f5;p=gosa.git Fixed unset git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1871 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiPackage.inc b/plugins/admin/fai/class_faiPackage.inc index 5bbfd54f6..23fa9fbf3 100644 --- a/plugins/admin/fai/class_faiPackage.inc +++ b/plugins/admin/fai/class_faiPackage.inc @@ -75,7 +75,9 @@ class faiPackage extends plugin $this->usedPackages = array(); } - unset($this->attrs['FAIdebianSection']['count']); + if ($this->attrs['FAIdebianSection']['count']){ + unset($this->attrs['FAIdebianSection']['count']); + } if((isset($this->attrs['FAIdebianSection']))&&(is_array($this->attrs['FAIdebianSection']))){ $this->FAIdebianSection = array(); foreach($this->attrs['FAIdebianSection'] as $sec){