From 1591b4d10fc74b45178427c2739abd1291a93f7a Mon Sep 17 00:00:00 2001 From: Daniel Barreto Date: Wed, 9 Apr 2014 13:00:41 -0500 Subject: [PATCH] included fix for autoplay on results page --- main/exercice/exercise.lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/exercice/exercise.lib.php b/main/exercice/exercise.lib.php index 231fcda4d0..5c4b142286 100644 --- a/main/exercice/exercise.lib.php +++ b/main/exercice/exercise.lib.php @@ -2383,6 +2383,8 @@ function display_question_list_by_attempt($objExercise, $exe_id, $save_user_resu if ($show_all_but_expected_answer) { $exercise_content .= "
".get_lang("ExerciseWithFeedbackWithoutCorrectionComment")."
"; } + // Remove audio autoplay from questions on results page - refs BT#7939 + $exercise_content = preg_replace('/autoplay[\=\".+\"]+/','',$exercise_content); echo $total_score_text; echo $exercise_content;