Merge branch 'MDL-39059-workshop-settype' of git://github.com/mudrd8mz/moodle

This commit is contained in:
Dan Poltawski 2013-04-10 10:55:45 +08:00
commit cfaacebb01

View File

@ -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'));