mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 11:56:40 +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
|
@ -30,7 +30,7 @@ if ($attemptobj->is_finished()) {
|
|||
}
|
||||
|
||||
if ($attemptobj->is_preview_user()) {
|
||||
$PAGE->settingsnav->override_active_url($attemptobj->start_attempt_url());
|
||||
navigation_node::override_active_url($attemptobj->start_attempt_url());
|
||||
}
|
||||
|
||||
/// Check access.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue