Show feedback audio when feedback text is empty - refs BT#13894

pull/2458/head
Angel Fernando Quiroz Campos 8 years ago
parent 9ad848c28b
commit 0213559304
  1. 2
      main/exercise/exercise_show.php

@ -721,8 +721,8 @@ foreach ($questionList as $questionId) {
$comnt = Event::get_comments($id, $questionId);
if (!empty($comnt)) {
echo ExerciseLib::getFeedbackText($comnt);
echo ExerciseLib::getOralFeedbackAudio($id, $questionId, $student_id);
}
echo ExerciseLib::getOralFeedbackAudio($id, $questionId, $student_id);
echo '</div>';
echo '<div id="'.$name.'" class="row hidden">';

Loading…
Cancel
Save