Skip to content

Commit 6fb429d

Browse files
author
David Monllao
committed
Merge branch 'MDL-62175-master' of git://github.com/jleyva/moodle
2 parents 0d1707f + e709853 commit 6fb429d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth/email/classes/external.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public static function signup_user($username, $password, $firstname, $lastname,
293293
$data['email2'] = $data['email'];
294294
// Force policy agreed if a site policy is set. The client is responsible of implementing the interface check.
295295
$manager = new \core_privacy\local\sitepolicy\manager();
296-
if (!$manager->is_defined()) {
296+
if ($manager->is_defined()) {
297297
$data['policyagreed'] = 1;
298298
}
299299
unset($data['recaptcharesponse']);

0 commit comments

Comments
 (0)