From d24035209c0fab4d4c3982ebcf62dcd1ca7eaa83 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 24 Apr 2006 11:51:21 +0000 Subject: [PATCH] Fixed undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3092 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_config.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_config.inc b/include/class_config.inc index 65285a655..bca1f5bdc 100644 --- a/include/class_config.inc +++ b/include/class_config.inc @@ -593,7 +593,7 @@ class config { function getShareServerList() { $ldap= $this->get_ldap_link(); - $a_res = $ldap->search("(objectClass=goShareServer)",array("goExportEntry","cn")); + $a_res = $ldap->search("(&(objectClass=goShareServer)(goExportEntry=*))",array("goExportEntry","cn")); $return= array(); while($entry = $ldap->fetch($a_res)){ if(isset($entry['goExportEntry']['count'])){ -- 2.30.2