Permalink
Browse files

Merge branch 'MDL-28998-m21' of git://github.com/ankitagarwal/moodle …

…into MOODLE_21_STABLE
  • Loading branch information...
2 parents 45c413e + ae32511 commit 5c3f51714218126fc03702b722f1cea5d42f1cb7 Sam Hemelryk committed Mar 12, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 login/signup_form.php
View
@@ -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;

0 comments on commit 5c3f517

Please sign in to comment.