MDL-42440 fix auth enabling regression

This commit is contained in:
Petr Škoda 2013-10-20 10:50:19 +02:00
parent 4e47920f08
commit e34fb2ef65

View File

@ -5720,8 +5720,8 @@ class admin_setting_manageauths extends admin_setting {
$test = '';
if (!empty($authplugins[$auth]) and method_exists($authplugins[$auth], 'test_settings')) {
$url = new moodle_url('/auth/test_settings.php', array('auth'=>$auth, 'sesskey'=>sesskey()));
$test = html_writer::link($url, $txt->testsettings);
$testurl = new moodle_url('/auth/test_settings.php', array('auth'=>$auth, 'sesskey'=>sesskey()));
$test = html_writer::link($testurl, $txt->testsettings);
}
// Add a row to the table.