]> git.mjollnir.org Git - moodle.git/commitdiff
Typo: should be $COURSE not $course it seems
authorthepurpleblob <thepurpleblob>
Mon, 13 Aug 2007 13:21:22 +0000 (13:21 +0000)
committerthepurpleblob <thepurpleblob>
Mon, 13 Aug 2007 13:21:22 +0000 (13:21 +0000)
question/edit.php

index 08949243fe179e2ffbae186f83c2664cbe72000e..96c481541d243a581f756c71ad9ed2e3b169f6a7 100644 (file)
@@ -25,7 +25,7 @@
             ? update_module_button($cm->id, $COURSE->id, get_string('modulename', $cm->modname))
             : "";
         $navlinks = array();
-        $navlinks[] = array('name' => get_string('modulenameplural', $cm->modname), 'link' => "$CFG->wwwroot/mod/{$cm->modname}/index.php?id=$course->id", 'type' => 'activity');
+        $navlinks[] = array('name' => get_string('modulenameplural', $cm->modname), 'link' => "$CFG->wwwroot/mod/{$cm->modname}/index.php?id=$COURSE->id", 'type' => 'activity');
         $navlinks[] = array('name' => format_string($module->name), 'link' => "$CFG->wwwroot/mod/{$cm->modname}/view.php?cmid={$cm->id}", 'type' => 'title');
         $navlinks[] = array('name' => $streditingquestions, 'link' => '', 'type' => 'title');
         $navigation = build_navigation($navlinks);