From 0d16f65fad238582e2f6e46b03aaf4d7d7dfe50d Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 8 Nov 2005 11:06:26 +0000 Subject: [PATCH] Added isset, to avoid errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1876 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiPackage.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']))){ -- 2.30.2