mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
navigation MDL-20324 Quick fix to a regression caused by last update
This commit is contained in:
parent
bf6c37c786
commit
fa42a689cd
@ -409,8 +409,10 @@ class navigation_node {
|
||||
$link->add_class('dimmed');
|
||||
}
|
||||
|
||||
$breakoutaction = new breakout_of_frame_action();
|
||||
$link->add_action($breakoutaction);
|
||||
if (!empty($CFG->framename)) {
|
||||
$breakoutaction = new breakout_of_frame_action();
|
||||
$link->add_action($breakoutaction);
|
||||
}
|
||||
|
||||
$content = $OUTPUT->link($link);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user