From 058bb7cd33b184d53d8ad22f70a8799e20bb48fe Mon Sep 17 00:00:00 2001 From: fabmen Date: Thu, 12 Dec 2013 15:50:35 +0100 Subject: [PATCH] MDL-34319 auth_cas: Fixed issue with undefined variable: ldapconnection --- auth/cas/auth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/auth/cas/auth.php b/auth/cas/auth.php index 42c71565b0e..6a80dbe6b45 100644 --- a/auth/cas/auth.php +++ b/auth/cas/auth.php @@ -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;