Permalink
Browse files

MDL-39059 Set explicit boolean type of a hidden field in workshop ran…

…dom allocator form
  • Loading branch information...
1 parent 422f68f commit 5be1be85f48513572a35763623cbd59493f34759 @mudrd8mz mudrd8mz committed Apr 9, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/workshop/allocation/random/settings_form.php
@@ -80,6 +80,7 @@ public function definition() {
$mform->setDefault('excludesamegroup', 0);
} else {
$mform->addElement('hidden', 'excludesamegroup', 0);
+ $mform->setType('excludesamegroup', PARAM_BOOL);
}
$mform->addElement('checkbox', 'removecurrent', get_string('removecurrentallocations', 'workshopallocation_random'));

0 comments on commit 5be1be8

Please sign in to comment.