Adding random value in exercise list

skala
Julio Montoya 12 years ago
parent 82b3fc55dd
commit e7fd5876fa
  1. 3
      main/exercice/exercice.php

@ -737,6 +737,9 @@ if (!empty($exercise_list)) {
}*/
$number_of_questions = $exercise_obj->getQuestionCount();
if ($row['random'] > 0 || $row['random'] != -1) {
$number_of_questions = $number_of_questions.' ('.$row['random'].' '.get_lang('Random').') ';
}
//Attempts
//$attempts = get_count_exam_results($my_exercise_id).' '.get_lang('Attempts');

Loading…
Cancel
Save