From 25366353b982df92827c209fd27052f52513f2be Mon Sep 17 00:00:00 2001 From: Esben Petersen Date: Wed, 14 Jun 2023 13:23:11 +0200 Subject: [PATCH] fix or clauses for non-string requests --- src/LaravelController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LaravelController.php b/src/LaravelController.php index e4cab1c..f81bc69 100644 --- a/src/LaravelController.php +++ b/src/LaravelController.php @@ -124,9 +124,9 @@ protected function parseFilterGroups(array $filter_groups) $or = false; if (array_key_exists('or', $group)) { - if ($group['or'] === 'true') { + if ($group['or'] === 'true' || $group['or'] === true) { $or = true; - } else if ($group['or'] === 'false') { + } else if ($group['or'] === 'false' || $group['or'] === false) { $or = false; } }