diff --git a/main/exercice/answer.class.php b/main/exercice/answer.class.php index 76ff253fa9..4aa6d0a55d 100755 --- a/main/exercice/answer.class.php +++ b/main/exercice/answer.class.php @@ -73,7 +73,7 @@ class Answer $exerciseId = isset($_REQUEST['exerciseId']) ? $_REQUEST['exerciseId'] : null; $objExercise->read($exerciseId); - if ($objExercise->random_answers == '1') { + if ($objExercise->random_answers == '1' && $this->getQuestionType() != CALCULATED_ANSWER) { $this->readOrderedBy('rand()', '');// randomize answers } else { $this->read(); // natural order