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

pull/2487/head
Angel Fernando Quiroz Campos 7 years ago
parent d3c2beeca4
commit 536bbe9c52
  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