Browse Source

Add autostart filtering for exercises results page - refs #7211

Yannick Warnier 10 years ago
parent
commit
3e2929bd66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/inc/lib/exercise.lib.php

+ 1 - 1
main/inc/lib/exercise.lib.php

@@ -3495,7 +3495,7 @@ class ExerciseLib
         }
         // Remove audio auto play from questions on results page - refs BT#7939
         $exercise_content = preg_replace(
-            '/autoplay[\=\".+\"]+/',
+            ['/autoplay[\=\".+\"]+/','/autostart[\=\".+\"]+/'],
             '',
             $exercise_content
         );