Merge branch 'MDL-75872-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

This commit is contained in:
Jake Dallimore
2022-11-11 11:45:39 +08:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}