Skip to content

Commit

Permalink
Merge branch 'MDL-80498_402' of https://github.com/santoshndev/moodle
Browse files Browse the repository at this point in the history
…into MOODLE_402_STABLE
  • Loading branch information
HuongNV13 committed Jan 17, 2024
2 parents 59d66f6 + 8267670 commit b915a4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions group/import_form.php
Expand Up @@ -53,6 +53,7 @@ function definition() {
$filepickeroptions['filetypes'] = '*';
$filepickeroptions['maxbytes'] = get_max_upload_file_size();
$mform->addElement('filepicker', 'userfile', get_string('import'), null, $filepickeroptions);
$mform->addRule('userfile', null, 'required');

$mform->addElement('hidden', 'id');
$mform->setType('id', PARAM_INT);
Expand Down

0 comments on commit b915a4b

Please sign in to comment.