From 51f7c052c202bec5dfbdbbf666a0a6c084028f05 Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 25 Apr 2008 12:20:46 +0000 Subject: [PATCH] MDL-14473 added missing $files param; merged from MOODLE_19_STABLE --- user/profile/index_field_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/profile/index_field_form.php b/user/profile/index_field_form.php index 5fc4f980d8..781c7afaa4 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); } } -- 2.39.5