Permalink
Browse files

MDL-27094 fix incorrect assignment form validation method name

Credit goes to H. Hanna
  • Loading branch information...
1 parent eb9d692 commit 934fa3ed6c15ad9482e53b567b95f342655397db @skodak skodak committed Apr 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/mod_form.php
@@ -114,7 +114,7 @@ function data_preprocessing(&$default_values) {
}
- 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));

0 comments on commit 934fa3e

Please sign in to comment.