diff --git a/main/exercice/answer.class.php b/main/exercice/answer.class.php index 3d0753826b..579b10c3af 100755 --- a/main/exercice/answer.class.php +++ b/main/exercice/answer.class.php @@ -484,7 +484,7 @@ class Answer '$weighting','$position','$hotspot_coordinates','$hotspot_type','$destination'),"; } $sql = api_substr($sql,0,-1); - var_dump($sql); + Database::query($sql); // moves $new_* arrays diff --git a/main/exercice/multiple_answer_true_false.class.php b/main/exercice/multiple_answer_true_false.class.php index 087e401189..bcbf11e679 100755 --- a/main/exercice/multiple_answer_true_false.class.php +++ b/main/exercice/multiple_answer_true_false.class.php @@ -137,7 +137,7 @@ class MultipleAnswerTrueFalse extends Question { //$defaults['weighting['.$i.']'] = float_format($answer -> weighting[$i], 1); $correct = $answer->correct[$i]; - var_dump($correct); + //$this->options $defaults['correct['.$i.']'] = $correct; $j = 1;