mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
MDL-10109 Adding missing global $CFG
This commit is contained in:
parent
c345bb584a
commit
75bde3cc0d
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user