Skip to content

Commit

Permalink
Merge branch 'MDL-78120-401' of https://github.com/lucaboesch/moodle
Browse files Browse the repository at this point in the history
…into MOODLE_401_STABLE
  • Loading branch information
snake committed May 16, 2023
2 parents 4818dae + 997990f commit aa39ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login/index.php
Expand Up @@ -314,7 +314,7 @@

$loginurlstr = $loginurl->out(false);

if (strpos($SESSION->wantsurl, $loginurlstr) === 0) {
if (strpos($SESSION->wantsurl ?? '', $loginurlstr) === 0) {
// We do not want to return to alternate url.
$SESSION->wantsurl = null;
}
Expand Down

0 comments on commit aa39ebb

Please sign in to comment.