Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'MDL-62175-master' of git://github.com/jleyva/moodle
  • Loading branch information
David Monllao committed Apr 25, 2018
2 parents 0d1707f + e709853 commit 6fb429d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/email/classes/external.php
Expand Up @@ -293,7 +293,7 @@ public static function signup_user($username, $password, $firstname, $lastname,
$data['email2'] = $data['email'];
// Force policy agreed if a site policy is set. The client is responsible of implementing the interface check.
$manager = new \core_privacy\local\sitepolicy\manager();
if (!$manager->is_defined()) {
if ($manager->is_defined()) {
$data['policyagreed'] = 1;
}
unset($data['recaptcharesponse']);
Expand Down

0 comments on commit 6fb429d

Please sign in to comment.