From 75bde3cc0d3a8dc0123b475f1cc64f879ad9a947 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 2 Aug 2007 08:32:49 +0000 Subject: [PATCH] MDL-10109 Adding missing global $CFG --- course/moodleform_mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/moodleform_mod.php b/course/moodleform_mod.php index edffc3bde4..7304549c60 100644 --- a/course/moodleform_mod.php +++ b/course/moodleform_mod.php @@ -87,7 +87,7 @@ class moodleform_mod extends moodleform { * @param bool $supportsgroups does this module support groups? */ function standard_coursemodule_elements($supportsgroups=true){ - global $COURSE; + global $COURSE, $CFG; $mform =& $this->_form; if (!empty($CFG->enableoutcomes)) { -- 2.39.5