mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
navigation MDL-20276 Fixed use of override_active_url.
This commit is contained in:
parent
bf1873c60b
commit
73eba4be68
4 changed files with 4 additions and 5 deletions
|
@ -77,8 +77,7 @@
|
|||
if ($attemptobj->is_preview_user() && $attemptobj->is_own_attempt()) {
|
||||
// Normal blocks
|
||||
$strreviewtitle = get_string('reviewofpreview', 'quiz');
|
||||
|
||||
$PAGE->settingsnav->override_active_url($attemptobj->start_attempt_url());
|
||||
navigation_node::override_active_url($attemptobj->start_attempt_url());
|
||||
|
||||
} else {
|
||||
$strreviewtitle = get_string('reviewofattempt', 'quiz', $attemptobj->get_attempt_number());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue