mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'w15_MDL-27094_m21_assval' of git://github.com/skodak/moodle
This commit is contained in:
commit
b34324a73e
@ -114,7 +114,7 @@ class mod_assignment_mod_form extends moodleform_mod {
|
||||
}
|
||||
|
||||
|
||||
function validataion($data, $files) {
|
||||
function validation($data, $files) {
|
||||
// Allow plugin assignment types to do any extra validation after the form has been submitted
|
||||
$errors = parent::validation($data, $files);
|
||||
$errors = array_merge($errors, $this->get_assignment_instance()->form_validation($data, $files));
|
||||
|
Loading…
x
Reference in New Issue
Block a user