Merge branch 'MDL-44588' of git://github.com/timhunt/moodle

This commit is contained in:
Marina Glancy 2014-03-17 18:18:36 +08:00
commit e65825830f

View File

@ -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;