Minor: Fix errors from behat validating table quiz - refs BT#19280

pull/4036/head
Christian 5 years ago
parent 8ca7de088f
commit a4e86e9b1a
  1. 5
      main/exercise/exercise.class.php

@ -1686,8 +1686,9 @@ class Exercise
if ($showHideConfiguration) {
$paramsExtra['hide_question_number'] = $this->hideQuestionNumber;
}
$paramsExtra['hide_attempts_table'] = $this->getHideAttemptsTableOnStartPage();
if (true === api_get_configuration_value('quiz_hide_attempts_table_on_start_page')) {
$paramsExtra['hide_attempts_table'] = $this->getHideAttemptsTableOnStartPage();
}
$params = array_merge($params, $paramsExtra);

Loading…
Cancel
Save