Exercise: Fix issue limit of exercise itents - refs GH#3392

pull/3440/head
= 6 years ago
parent ade11facc1
commit 5af68014ec
  1. 8
      main/exercise/exercise.class.php

@ -2252,15 +2252,11 @@ class Exercise
$form->addGroup($group, null, get_lang('ShowPreviousButton'));
}
// Attempts
$attempt_option = range(0, 10);
$attempt_option[0] = get_lang('Infinite');
$form->addElement(
'select',
'number',
'exerciseAttempts',
get_lang('ExerciseAttempts'),
$attempt_option,
null,
['id' => 'exerciseAttempts']
);

Loading…
Cancel
Save