MDL-49360 core_lib: fix typo on auth_ldap

This commit is contained in:
Simey Lameze 2015-07-28 12:49:08 +08:00 committed by Andrew Nicols
parent 8a53c3f433
commit 25565918d9

View File

@ -1654,7 +1654,7 @@ class auth_plugin_ldap extends auth_plugin_base {
// First, let's remember where we were trying to get to before we got here
if (empty($SESSION->wantsurl)) {
$SESSION->wantsurl = null;
$referer = get_safe_referer(false);
$referer = get_local_referer(false);
if ($referer &&
$referer != $CFG->wwwroot &&
$referer != $CFG->wwwroot . '/' &&