From aa78ab4cb3a3fe5aa1ead14effcd31e26c736703 Mon Sep 17 00:00:00 2001 From: pichetp Date: Sat, 6 Oct 2007 19:02:26 +0000 Subject: [PATCH] missing global $CFG ; line 577 function save_dataset_items($question, $fromform){ global $CFG; --- question/type/calculated/questiontype.php | 1 + 1 file changed, 1 insertion(+) diff --git a/question/type/calculated/questiontype.php b/question/type/calculated/questiontype.php index a19254f145..d9eb54f773 100644 --- a/question/type/calculated/questiontype.php +++ b/question/type/calculated/questiontype.php @@ -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); -- 2.39.5