navigation MDL-20324 Quick fix to a regression caused by last update
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user