From a1bed32fa5dca500d674208a4d5d7326848ea353 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Mon, 13 Aug 2007 13:21:22 +0000 Subject: [PATCH] Typo: should be $COURSE not $course it seems --- question/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/edit.php b/question/edit.php index 08949243f..96c481541 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); -- 2.11.4.GIT