diff --git a/user/profile/index_field_form.php b/user/profile/index_field_form.php index 5fc4f980d87..781c7afaa45 100644 --- a/user/profile/index_field_form.php +++ b/user/profile/index_field_form.php @@ -40,7 +40,7 @@ class field_form extends moodleform { /// perform some moodle validation function validation($data, $files) { - return $this->field->define_validate($data); + return $this->field->define_validate($data, $files); } }