Skip to content

Commit

Permalink
missing global $CFG ; line 577
Browse files Browse the repository at this point in the history
  function save_dataset_items($question, $fromform){
global $CFG;
  • Loading branch information
pichetp committed Oct 6, 2007
1 parent eed1c7c commit f67882c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions question/type/calculated/questiontype.php
Expand Up @@ -575,6 +575,7 @@ function update_dataset_options($datasetdefs, $form) {
} }


function save_dataset_items($question, $fromform){ function save_dataset_items($question, $fromform){
global $CFG ;
// max datasets = 100 items // max datasets = 100 items
$max100 = 100 ; $max100 = 100 ;
$regenerate = optional_param('forceregeneration', 0, PARAM_BOOL); $regenerate = optional_param('forceregeneration', 0, PARAM_BOOL);
Expand Down

0 comments on commit f67882c

Please sign in to comment.