From ab1344085bbbe4de981b65e555e50ebf1af3854e Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Thu, 4 Jul 2024 19:20:00 +0200 Subject: [PATCH] fix: typo in widlcardsearch function --- api/src/databases/VLWdb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/databases/VLWdb.php b/api/src/databases/VLWdb.php index 96aaba4..2a459af 100755 --- a/api/src/databases/VLWdb.php +++ b/api/src/databases/VLWdb.php @@ -64,7 +64,7 @@ // https://github.com/VictorWesterlund/php-libmysqldriver?tab=readme-ov-file#define-custom-operators public static function make_wildcard_search(string $property_name, array &$filters): array { // Bail out if property name is not set in filters array or if its value is null - if (!array_key_exists($property_name, $filters) || $filers[$property_name] !== null) { + if (!array_key_exists($property_name, $filters) || $filters[$property_name] === null) { return $filters; }