From aa25e42ba29e4e9c6a9380a41cc90f3a6ed9dadd Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 10 Apr 2011 21:01:53 +0200 Subject: [PATCH] MDL-27094 fix incorrect assignment form validation method name Credit goes to H. Hanna --- mod/assignment/mod_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/assignment/mod_form.php b/mod/assignment/mod_form.php index 133c0413f42..1c5cf3195aa 100644 --- a/mod/assignment/mod_form.php +++ b/mod/assignment/mod_form.php @@ -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));