Skip to content

Commit

Permalink
MDL-49360 core_lib: fix typo on auth_ldap
Browse files Browse the repository at this point in the history
  • Loading branch information
lameze authored and andrewnicols committed Jul 28, 2015
1 parent 8a53c3f commit 2556591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/ldap/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -1654,7 +1654,7 @@ function loginpage_hook() {
// 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 . '/' &&
Expand Down

0 comments on commit 2556591

Please sign in to comment.