Commit 48fd5420 authored by Okhin's avatar Okhin
Browse files

Fix the redundant ->fetch

parent 4d95d061
......@@ -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)
Supports Markdown
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