helps wiki find global course

This commit is contained in:
moodler
2004-08-03 04:08:11 +00:00
parent 579dcca41e
commit b4d4e4aac5
+1 -1
View File
@@ -849,7 +849,7 @@ function text_to_html($text, $smiley=true, $para=true, $newlines=true) {
function wiki_to_html($text) {
/// Given Wiki formatted text, make it into XHTML using external function
global $CFG;
global $CFG, $course;
require_once("$CFG->libdir/wiki.php");