MDL-34319 auth_cas: Fixed issue with undefined variable: ldapconnection

This commit is contained in:
fabmen
2014-02-16 14:20:36 -08:00
committed by Mark Nelson
parent 4c56e8210c
commit 058bb7cd33
+1
View File
@@ -413,6 +413,7 @@ class auth_plugin_cas extends auth_plugin_ldap {
// Test for group creator
if (!empty($this->config->groupecreators)) {
$ldapconnection = $this->ldap_connect();
if ($this->config->memberattribute_isdn) {
if(!($userid = $this->ldap_find_userdn($ldapconnection, $extusername))) {
return false;