From 5e88da9325d96a640a52f2d1de225c63ae83cf67 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 20 Apr 2006 13:45:46 +0000 Subject: [PATCH] Fixed undefined index goExportEntry /gosa/include/class_config.inc 597 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3077 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 6f649d703..c670748a1 100644 --- a/include/class_config.inc +++ b/include/class_config.inc @@ -594,7 +594,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 $share){ $a_share = split("\|",$share); $sharename = $a_share[0]; -- 2.30.2