Typo in navmenu
authormoodler <moodler>
Sun, 10 Nov 2002 07:59:01 +0000 (07:59 +0000)
committermoodler <moodler>
Sun, 10 Nov 2002 07:59:01 +0000 (07:59 +0000)
lib/moodlelib.php

index b07cc44..bfac149 100644 (file)
@@ -396,7 +396,7 @@ function navmenu($course, $cm) {
 
     global $CFG;
 
-    if ($course->format = 'weeks') {
+    if ($course->format == 'weeks') {
         $strsection = get_string("week");
     } else {
         $strsection = get_string("topic");