Code

Fixed undefined index
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Apr 2006 11:51:21 +0000 (11:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Apr 2006 11:51:21 +0000 (11:51 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3092 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_config.inc

index 65285a6559f6599687081877e6146dda7479901e..bca1f5bdcc49db7763f14aacde8e40f3bee7e838 100644 (file)
@@ -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'])){