From c0e8897d28b01faa35b0afb055d2f9b8db6d77a1 Mon Sep 17 00:00:00 2001 From: gbateson Date: Sun, 9 Nov 2008 03:39:15 +0000 Subject: [PATCH] mod hotpot: fix undefined global variable $COURSE --- mod/hotpot/mod_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/hotpot/mod_form.php b/mod/hotpot/mod_form.php index 7583d6680b..79a3fc440f 100644 --- a/mod/hotpot/mod_form.php +++ b/mod/hotpot/mod_form.php @@ -266,7 +266,7 @@ class mod_hotpot_mod_form extends moodleform_mod { } function validation($data, $files) { - global $CFG, $USER, $DB; + global $CFG, $USER, $DB, $COURSE; $errors = parent::validation($data, $files); -- 2.39.5