From 3bde4a3fffba4099bd30a5878fea6ac238379acb Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 20 Apr 2006 12:51:12 +0000 Subject: [PATCH] fixed PHP Fehler "Undefined index: goExportEntry" 596 gosa/include/class_config.inc git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3074 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_config.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/class_config.inc b/include/class_config.inc index db13e4ac9..6f649d703 100644 --- a/include/class_config.inc +++ b/include/class_config.inc @@ -566,7 +566,9 @@ class config { $a_res = $ldap->search("(objectClass=goShareServer)",array("goExportEntry","cn")); $return= array(); while($entry = $ldap->fetch($a_res)){ - unset($entry['goExportEntry']['count']); + if(isset($entry['goExportEntry']['count'])){ + unset($entry['goExportEntry']['count']); + } foreach($entry['goExportEntry'] as $export){ $shareAttrs = split("\|",$export); if($listboxEntry) { -- 2.30.2