From 68ca11f96a29b941a4239ecfb7593c5a0fead0c2 Mon Sep 17 00:00:00 2001 From: fabmen Date: Mon, 16 Dec 2013 11:55:24 +0100 Subject: [PATCH] MDL-43405 auth_ldap: Fixed issue with undefined variable: ldap_cookie --- auth/ldap/auth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/auth/ldap/auth.php b/auth/ldap/auth.php index deda73d8190..efd1761fd40 100644 --- a/auth/ldap/auth.php +++ b/auth/ldap/auth.php @@ -1474,6 +1474,7 @@ class auth_plugin_ldap extends auth_plugin_base { array_push($contexts, $this->config->create_context); } + $ldap_cookie = ''; $ldap_pagedresults = ldap_paged_results_supported($this->config->ldap_version); foreach ($contexts as $context) { $context = trim($context);