navigation MDL-20324 Quick fix to a regression caused by last update

This commit is contained in:
samhemelryk 2009-09-23 06:17:52 +00:00
parent bf6c37c786
commit fa42a689cd

View File

@ -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 {