Permalink
Browse files

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

…into MOODLE_22_STABLE
  • Loading branch information...
2 parents aacacde + 44b4c10 commit 840dc3cb947313953bee9092ef4116e4441d8b04 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 840dc3c

Please sign in to comment.