Commit e6a00ddc authored by Okhin's avatar Okhin

Updating the Finder

parent 1b1c1543
......@@ -37,11 +37,11 @@ class CounterpartFinder
SELECT AS id, a.nom as pseudo, d.pdf as pdf
FROM dons d
JOIN adresses a ON = d.adresse_id
WHERE = :size
WHERE = :don_id
$pdf = $this->connection->fetchAssoc($query, [
'size' => $counterpart['taille']
'don_id' => $counterpart['']
if (false !== $pdf) {
$contrepartie['pdf_id'] = $pdf['id'];
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