mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-14473 added missing $files param; merged from MOODLE_19_STABLE
This commit is contained in:
parent
f563ee3a76
commit
51f7c052c2
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user