From: thepurpleblob Date: Mon, 13 Aug 2007 13:21:22 +0000 (+0000) Subject: Typo: should be $COURSE not $course it seems X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a1bed32fa5dca500d674208a4d5d7326848ea353;p=moodle.git Typo: should be $COURSE not $course it seems --- diff --git a/question/edit.php b/question/edit.php index 08949243fe..96c481541d 100644 --- a/question/edit.php +++ b/question/edit.php @@ -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);