mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-39059 Set explicit boolean type of a hidden field in workshop random allocator form
This commit is contained in:
parent
422f68fb86
commit
5be1be85f4
@ -80,6 +80,7 @@ class workshop_random_allocator_form extends moodleform {
|
||||
$mform->setDefault('excludesamegroup', 0);
|
||||
} else {
|
||||
$mform->addElement('hidden', 'excludesamegroup', 0);
|
||||
$mform->setType('excludesamegroup', PARAM_BOOL);
|
||||
}
|
||||
|
||||
$mform->addElement('checkbox', 'removecurrent', get_string('removecurrentallocations', 'workshopallocation_random'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user