From 2e822a9486e0bbe19e809a614b6d500c454aa63c Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Thu, 9 Mar 2023 12:35:29 +0100 Subject: [PATCH] Fix bug on admin Location Page with availableForUsers value --- src/Bundle/ChillMainBundle/Controller/LocationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Controller/LocationController.php b/src/Bundle/ChillMainBundle/Controller/LocationController.php index 232c9c6cf..78a4f7ba3 100644 --- a/src/Bundle/ChillMainBundle/Controller/LocationController.php +++ b/src/Bundle/ChillMainBundle/Controller/LocationController.php @@ -28,7 +28,7 @@ class LocationController extends CRUDController protected function customizeQuery(string $action, Request $request, $query): void { - $query->where('e.availableForUsers = "TRUE"'); + $query->where('e.availableForUsers = TRUE'); } protected function orderQuery(string $action, $query, Request $request, PaginatorInterface $paginator)