Commit 7c894c20 authored by Sebastian Castro's avatar Sebastian Castro

Fixs bug alreadyUsedUserName

parent 9b4b707e
......@@ -56,7 +56,7 @@ class RegistrationFormHandler
$alreadyUsedEmail = $usersSameEmail === null ? false : count($usersSameEmail) > 1;
$userSameName = $this->userManager->findUserByUsername($user->getUsername());
array $alreadyUsedUserName() = $userSameName === null ? false : count($userSameName);
$alreadyUsedUserName = $userSameName === null ? false : count($userSameName);
$locoationSetToReceiveNewsletter = $user->getNewsletterFrequency() > 0 && !$user->getLocation();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment