From a871ae89b52867793e24af370cc662926baf6c75 Mon Sep 17 00:00:00 2001 From: pek5892 Date: Wed, 5 Jun 2024 13:01:45 +0200 Subject: [PATCH] Fix minore --- src/Util/Query.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Util/Query.php b/src/Util/Query.php index 74b336f6c..db4b75f02 100755 --- a/src/Util/Query.php +++ b/src/Util/Query.php @@ -232,7 +232,9 @@ class Query if ($data != "'1970-01-01'") { $search_filters[] = 'date('.$search_query.') = '.$data.''; } - } else { + } elseif ($equal) { + $search_filters[] = ($search_query.' = '.prepare($value)); + } else { $search_filters[] = ($search_query.' = '.prepare($value).' OR '.$search_query.' LIKE '.prepare('% '.$value).' OR '.$search_query.' LIKE '.prepare($value.' %').' OR '.$search_query.' LIKE '.prepare('% '.$value.' %')); } } elseif ($notequal) {