mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
Merge branch 'MDL-75872' of https://github.com/paulholden/moodle
This commit is contained in:
commit
e10ecfc434
@ -223,7 +223,7 @@ class lesson_override_form extends moodleform {
|
||||
$mform->setDefault('review', $this->lesson->review);
|
||||
|
||||
// Number of attempts.
|
||||
$numbers = array();
|
||||
$numbers = ['0' => get_string('unlimited')];
|
||||
for ($i = 10; $i > 0; $i--) {
|
||||
$numbers[$i] = $i;
|
||||
}
|
||||
|
@ -125,7 +125,7 @@ if ($ADMIN->fulltree) {
|
||||
get_string('displayreview', 'lesson'), get_string('displayreview_help', 'lesson'),
|
||||
array('value' => 0, 'adv' => false), $yesno));
|
||||
|
||||
$attempts = array();
|
||||
$attempts = ['0' => get_string('unlimited')];
|
||||
for ($i = 10; $i > 0; $i--) {
|
||||
$attempts[$i] = $i;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user