From 6edaa109b1137b5e905cffca637933da792abed7 Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 23 Sep 2008 07:48:50 +0000 Subject: [PATCH] Removed undefined index warning. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- 2.30.2