diff --git a/question/type/calculated/edit_calculated_form.php b/question/type/calculated/edit_calculated_form.php index 74b989feecc..1dea97645d8 100644 --- a/question/type/calculated/edit_calculated_form.php +++ b/question/type/calculated/edit_calculated_form.php @@ -173,7 +173,7 @@ class question_edit_calculated_form extends question_edit_form { $answercount = 0; //check grades /*$totalfraction = 0; - $maxfraction = -1;*/ + $maxfraction = -1; */ $possibledatasets = $this->qtypeobj->find_dataset_names($data['questiontext']); $mandatorydatasets = array(); foreach ($answers as $key => $answer){