]> git.mjollnir.org Git - moodle.git/commitdiff
navigation /MDL-21152 fixed regression changed topframe to frametop
authorSam Hemelryk <sam@moodle.com>
Wed, 23 Dec 2009 08:56:16 +0000 (08:56 +0000)
committerSam Hemelryk <sam@moodle.com>
Wed, 23 Dec 2009 08:56:16 +0000 (08:56 +0000)
lib/navigationlib.php

index 85f68d477c1f33f07ab600043bc7d103723403cc..b0205da63ace1083e15c524d58b7d0758b24b2e0 100644 (file)
@@ -433,7 +433,7 @@ class navigation_node {
                 $link->add_class('dimmed');
             }
 
-            if (!empty($CFG->framename) && ($PAGE->pagelayout=='topframe' || $CFG->framename!='_top')) {
+            if (!empty($CFG->framename) && ($PAGE->pagelayout=='frametop' || $CFG->framename!='_top')) {
                 $breakoutaction = new breakout_of_frame_action();
                 $link->add_action($breakoutaction);
             }