Merge branch 'w15_MDL-27094_m21_assval' of git://github.com/skodak/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2011-04-11 01:33:17 +02:00
commit b34324a73e

View File

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