MDL-68892 mod_h5pactivity: add required to package

This commit is contained in:
Ferran Recio
2020-08-28 17:44:38 +02:00
parent 38abfb6a01
commit bcea21d894
+1
View File
@@ -72,6 +72,7 @@ class mod_h5pactivity_mod_form extends moodleform_mod {
$mform->addElement('filemanager', 'packagefile', get_string('package', 'mod_h5pactivity'), null, $options);
$mform->addHelpButton('packagefile', 'package', 'mod_h5pactivity');
$mform->addRule('packagefile', null, 'required');
// Add a link to the Content Bank if the user can access.
$course = $this->get_course();