Commit 48fd5420 authored by okhin's avatar okhin 🚴

Fix the redundant ->fetch

parent 4d95d061
Pipeline #2264 passed with stages
in 15 seconds
......@@ -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)
......
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