mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merged notice fix from stable
This commit is contained in:
parent
c8135a3509
commit
d293521a90
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
notice_yesno('<p>' . get_string('guestsno', 'quiz') . "</p>\n\n</p>" .
|
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)) {
|
if (has_capability('mod/quiz:attempt', $context)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue