From: tjhunt <tjhunt> Date: Fri, 12 Jun 2009 12:08:25 +0000 (+0000) Subject: Fix some fallout from the pagelib changes. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=151165e3d16312d5a44acd14898251fc5614f891;p=moodle.git Fix some fallout from the pagelib changes. --- diff --git a/help.php b/help.php index cbe2b22534..93779336f0 100644 --- a/help.php +++ b/help.php @@ -20,6 +20,8 @@ $module = optional_param('module', 'moodle', PARAM_ALPHAEXT); $forcelang = optional_param('forcelang', '', PARAM_SAFEDIR); $skiplocal = optional_param('skiplocal', 0, PARAM_INT); // shall _local help files be skipped? +$PAGE->set_course($COURSE); + // We look for the help to display in lots of different places, and // only display an error at the end if we can't find the help file // anywhere. This variable tracks that.