From f67882c305147080518bf4e8816d27efd130991a Mon Sep 17 00:00:00 2001 From: pichetp Date: Sat, 6 Oct 2007 19:10:28 +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 9caf3cc7ba510..c14bbd8698b24 100644 --- a/question/type/calculated/questiontype.php +++ b/question/type/calculated/questiontype.php @@ -575,6 +575,7 @@ function update_dataset_options($datasetdefs, $form) { } function save_dataset_items($question, $fromform){ + global $CFG ; // max datasets = 100 items $max100 = 100 ; $regenerate = optional_param('forceregeneration', 0, PARAM_BOOL);