Code

Applied commit 12534
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 6 May 2009 12:39:43 +0000 (12:39 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 6 May 2009 12:39:43 +0000 (12:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13616 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-core/include/class_ldap.inc

index f3baf144d8905d58dbe1322c9460fac2f860562e..bcf06951d4d6c573e0be93f7106c9a9af26a84de 100644 (file)
@@ -372,7 +372,7 @@ class LDAP{
     if($this->hascon){
       if($this->hasres[$srp]){
 
-        if(!$this->re[$srp])
+        if((!isset($this->re[$srp])) || (!$this->re[$srp]))
           {
           $this->error = "Perform a Fetch with no valid Result";
           }