From e9136766604af5a56df1504897936ea652346cd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CPaul?= <“p.kallnbach@gorilla-computing.de”> Date: Mon, 23 Jun 2014 21:44:13 +0200 Subject: [PATCH] inc/drivers_ldap: fix 'Undefined variable' --- inc/drivers_ldap.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/drivers_ldap.php b/inc/drivers_ldap.php index cf727914..52e37762 100644 --- a/inc/drivers_ldap.php +++ b/inc/drivers_ldap.php @@ -119,6 +119,7 @@ class ldapDrivers global $c; $query = $this->ldap_query_all; + $ret = array(); foreach($this->baseDNUsers as $baseDNUsers) { $entry = $query($this->connect,$baseDNUsers,$this->filterUsers,$attributes); @@ -150,6 +151,7 @@ class ldapDrivers global $c; $query = $this->ldap_query_all; + $ret = array(); foreach($this->baseDNGroups as $baseDNGroups) { $entry = $query($this->connect,$baseDNGroups,$this->filterGroups,$attributes);