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 0894924..96c4815 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);