missing global $CFG ; line 577

function save_dataset_items($question, $fromform){
global $CFG;
This commit is contained in:
pichetp 2007-10-06 19:02:26 +00:00
parent d9420631b8
commit aa78ab4cb3

View File

@ -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);