From: hickert Date: Mon, 24 Apr 2006 11:51:21 +0000 (+0000) Subject: Fixed undefined index X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d24035209c0fab4d4c3982ebcf62dcd1ca7eaa83;p=gosa.git Fixed undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3092 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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'])){