Code

Applied commit 12534
[gosa.git] / 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";
           }