@ -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
@ -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;