Code

Removed undefined index warning.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Sep 2008 07:48:50 +0000 (07:48 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Sep 2008 07:48:50 +0000 (07:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12534 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_ldap.inc

index a83343709f0152189fd65343d6e4a6853ee7f23f..a28a151382e63675fe7b94c6a32a2b84c52cdc67 100644 (file)
@@ -360,7 +360,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";
           }