diff --git a/main/exercise/ReadingComprehension.php b/main/exercise/ReadingComprehension.php index 189254c36a..ea45eb5c4e 100755 --- a/main/exercise/ReadingComprehension.php +++ b/main/exercise/ReadingComprehension.php @@ -74,7 +74,7 @@ class ReadingComprehension extends UniqueAnswer $view->assign('text', nl2br($text)); $view->assign('words_count', $wordsCount); $view->assign('turns', $turns); - $view->assign('refreshTime', $this->refreshTime); + $view->assign('refresh_time', $this->refreshTime); $view->display($template); } diff --git a/main/template/default/exercise/reading_comprehension.tpl b/main/template/default/exercise/reading_comprehension.tpl index 83dc07ce2e..1c3c3ab170 100644 --- a/main/template/default/exercise/reading_comprehension.tpl +++ b/main/template/default/exercise/reading_comprehension.tpl @@ -96,6 +96,6 @@ updateView(); - var timeOuId = window.setInterval(updateView, {{ refreshTime }} * 1000); + var timeOuId = window.setInterval(updateView, {{ refresh_time }} * 1000); });