]> git.mjollnir.org Git - moodle.git/commitdiff
Fix some fallout from the pagelib changes.
authortjhunt <tjhunt>
Fri, 12 Jun 2009 12:08:25 +0000 (12:08 +0000)
committertjhunt <tjhunt>
Fri, 12 Jun 2009 12:08:25 +0000 (12:08 +0000)
help.php

index cbe2b22534eaeffebdf9e3d580446dd8bb71e7d4..93779336f0cd27cbb880f91e7457a6a9ef98507d 100644 (file)
--- 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.