Permalink
Browse files

missing global $CFG ; line 577

  function save_dataset_items($question, $fromform){
global $CFG;
  • Loading branch information...
pichetp
pichetp committed Oct 6, 2007
1 parent eed1c7c commit f67882c305147080518bf4e8816d27efd130991a
Showing with 1 addition and 0 deletions.
  1. +1 −0 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);

0 comments on commit f67882c

Please sign in to comment.