Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-28997-m22' of git://github.com/ankitagarwal/moodle …

…into MOODLE_22_STABLE
  • Loading branch information...
commit 840dc3cb947313953bee9092ef4116e4441d8b04 2 parents aacacde + 44b4c10
@samhemelryk samhemelryk authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  login/signup_form.php
View
3  login/signup_form.php
@@ -182,6 +182,9 @@ function validation($data, $files) {
$errors['recaptcha'] = get_string('missingrecaptchachallengefield');
}
}
+ // Validate customisable profile fields. (profile_validation expects an object as the parameter)
+ $dataobject = (object)$data;
+ $errors += profile_validation($dataobject, $files);
return $errors;
Please sign in to comment.
Something went wrong with that request. Please try again.