Skip to content

Commit ff36037

Browse files
author
David Monllao
committed
Merge branch 'MDL-62175-33' of git://github.com/jleyva/moodle into MOODLE_33_STABLE
2 parents d38c995 + e695807 commit ff36037

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
@@ -289,7 +289,7 @@ public static function signup_user($username, $password, $firstname, $lastname,
289289
$data['email2'] = $data['email'];
290290
// Force policy agreed if a site policy is set. The client is responsible of implementing the interface check.
291291
$manager = new \core_privacy\local\sitepolicy\manager();
292-
if (!$manager->is_defined()) {
292+
if ($manager->is_defined()) {
293293
$data['policyagreed'] = 1;
294294
}
295295
unset($data['recaptcharesponse']);

0 commit comments

Comments
 (0)