Skip to content

Commit bb22c68

Browse files
[Register] bug #786 initialize $user
initialize $user when validate email anonymously.
1 parent 7c64a61 commit bb22c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/skeleton/registration/RegistrationController.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function verifyUserEmail(Request $request<?= $verify_email_anonymously ?
121121
$user = $repository->find($id);
122122
<?php else: ?>
123123

124-
<?= $repository_var; ?>->find($id);
124+
$user = <?= $repository_var; ?>->find($id);
125125
<?php endif; ?>
126126

127127
if (null === $user) {

0 commit comments

Comments
 (0)