MDL-43405 auth_ldap: Fixed issue with undefined variable: ldap_cookie

This commit is contained in:
fabmen 2013-12-16 11:55:24 +01:00 committed by Mark Nelson
parent 974c2cdc03
commit fcf2176098

View File

@ -1529,6 +1529,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);