Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'MDL-62175-33' of git://github.com/jleyva/moodle into MO…
…ODLE_33_STABLE
  • Loading branch information
David Monllao committed Apr 25, 2018
2 parents d38c995 + e695807 commit ff36037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/email/classes/external.php
Expand Up @@ -289,7 +289,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 ff36037

Please sign in to comment.