mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Merge branch 'MDL-44588' of git://github.com/timhunt/moodle
This commit is contained in:
commit
e65825830f
@ -131,10 +131,10 @@ class quiz_access_manager {
|
||||
* @return array $errors the updated $errors array.
|
||||
*/
|
||||
public static function validate_settings_form_fields(array $errors,
|
||||
array $data, $files, mod_quiz_mod_form $this) {
|
||||
array $data, $files, mod_quiz_mod_form $quizform) {
|
||||
|
||||
foreach (self::get_rule_classes() as $rule) {
|
||||
$errors = $rule::validate_settings_form_fields($errors, $data, $files, $this);
|
||||
$errors = $rule::validate_settings_form_fields($errors, $data, $files, $quizform);
|
||||
}
|
||||
|
||||
return $errors;
|
||||
|
Loading…
x
Reference in New Issue
Block a user