Skip to content

Commit

Permalink
Merged notice fix from stable
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Mar 5, 2007
1 parent c8135a3 commit d293521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/view.php
Expand Up @@ -144,7 +144,7 @@
}

notice_yesno('<p>' . get_string('guestsno', 'quiz') . "</p>\n\n</p>" .
get_string('liketologin') . '</p>', $loginurl, $_SERVER['HTTP_REFERER']);
get_string('liketologin') . '</p>', $loginurl, get_referer(false));
}

if (has_capability('mod/quiz:attempt', $context)) {
Expand Down

0 comments on commit d293521

Please sign in to comment.