Permalink
Browse files

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

  • Loading branch information...
1 parent 4c56e82 commit 058bb7cd33b184d53d8ad22f70a8799e20bb48fe @fabmen fabmen committed with markn86 Dec 12, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 auth/cas/auth.php
View
@@ -413,6 +413,7 @@ function iscreator($username) {
// 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;

0 comments on commit 058bb7c

Please sign in to comment.