mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
address: correct customizeQuery
This commit is contained in:
parent
a659263af6
commit
e1e3051d00
@ -19,7 +19,7 @@ class PostalCodeAPIController extends ApiController
|
|||||||
if ($request->query->has('country')) {
|
if ($request->query->has('country')) {
|
||||||
|
|
||||||
$qb->where('e.country = :country')
|
$qb->where('e.country = :country')
|
||||||
->setParameter('country', $request->get('country'));
|
->setParameter('country', $request->query->get('country'));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user