From: janw Date: Tue, 23 Sep 2008 07:48:50 +0000 (+0000) Subject: Removed undefined index warning. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6edaa109b1137b5e905cffca637933da792abed7;p=gosa.git Removed undefined index warning. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12534 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_ldap.inc b/gosa-core/include/class_ldap.inc index a83343709..a28a15138 100644 --- a/gosa-core/include/class_ldap.inc +++ b/gosa-core/include/class_ldap.inc @@ -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"; }