Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
don
Commits
b3af270d
Verified
Commit
b3af270d
authored
Oct 19, 2019
by
Guinness
Browse files
Bug fix : cannot create an account at first donation
parent
c851cd8a
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/controller/campaign.php
View file @
b3af270d
...
...
@@ -109,7 +109,7 @@ class Campaign extends Controller
$user
=
$f3
->
get
(
'container'
)[
'user_finder'
]
->
findByEmail
(
\
Utils
::
asl
(
$email
));
if
(
count
(
$user
)
>
0
&&
is_array
(
$user
))
{
if
(
is_array
(
$user
)
&&
count
(
$user
)
>
0
)
{
// We have an existing user, we should try to login with the provided password
// or 403.
$mapper
=
new
\
DB\SQL\Mapper
(
$f3
->
get
(
'DB'
),
'users'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment