Skip to content

Commit 0f4d4eb

Browse files
committed
bug #787 [Register] bug #786 initialize $user (thewalkingcoder)
This PR was merged into the 1.0-dev branch. Discussion ---------- [Register] bug #786 initialize $user Initialize $user when validate email anonymously. Commits ------- bb22c68 [Register] bug #786 initialize $user
2 parents 7c64a61 + bb22c68 commit 0f4d4eb

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)