Skip to content

Commit

Permalink
MDL-34319 auth_cas: Fixed issue with undefined variable: ldapconnection
Browse files Browse the repository at this point in the history
  • Loading branch information
fabmen authored and mdjnelson committed Feb 16, 2014
1 parent 974c2cd commit c28694d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auth/cas/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,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;
Expand Down

0 comments on commit c28694d

Please sign in to comment.