Skip to content

Commit f2b06ae

Browse files
committed
Exercise: Fix issue limit of exercise itents - refs GH#3392
1 parent ade11fa commit f2b06ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/exercise/exercise.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2257,10 +2257,10 @@ public function createForm($form, $type = 'full')
22572257
$attempt_option[0] = get_lang('Infinite');
22582258

22592259
$form->addElement(
2260-
'select',
2260+
'number',
22612261
'exerciseAttempts',
22622262
get_lang('ExerciseAttempts'),
2263-
$attempt_option,
2263+
null,
22642264
['id' => 'exerciseAttempts']
22652265
);
22662266

0 commit comments

Comments
 (0)