mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
missing global $CFG ; line 577
function save_dataset_items($question, $fromform){ global $CFG;
This commit is contained in:
parent
d9420631b8
commit
aa78ab4cb3
@ -576,6 +576,7 @@ class question_calculated_qtype extends question_dataset_dependent_questiontype
|
||||
}
|
||||
|
||||
function save_dataset_items($question, $fromform){
|
||||
global $CFG ;
|
||||
// max datasets = 100 items
|
||||
$max100 = 100 ;
|
||||
$regenerate = optional_param('forceregeneration', 0, PARAM_BOOL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user