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
48fd5420
Commit
48fd5420
authored
Nov 19, 2018
by
Okhin
Browse files
Fix the redundant ->fetch
parent
4d95d061
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/controller/admin.php
View file @
48fd5420
...
...
@@ -1311,7 +1311,6 @@ class Admin extends Controller
$cumul
=
$db
->
lastInsertId
();
$don
=
$f3
->
get
(
'container'
)[
'donation_finder'
]
->
findById
(
$cumul
);
}
else
{
$cumul
=
$result
->
fetch
(
\
PDO
::
FETCH_ASSOC
);
$cumul
=
$result
[
'id'
];
}
// On regarde si le don n'as pas déjà été ajouté (en vérifiant la datec)
...
...
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