From: hickert Date: Thu, 20 Apr 2006 12:51:12 +0000 (+0000) Subject: fixed PHP Fehler "Undefined index: goExportEntry" X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3bde4a3fffba4099bd30a5878fea6ac238379acb;p=gosa.git 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 --- 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) {