From 77dd8b1fb95d0805173a2ca7a07d69064b045f6d Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Thu, 22 Feb 2024 15:07:18 +0100 Subject: [PATCH] minor fixes --- pandora_console/include/functions_events.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index 31b04d29c7..bf3a6594f4 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -1177,6 +1177,7 @@ function events_get_all( $array_search[] = 'lower(ta.alias)'; } + // Disregard repeated whitespaces when searching. $collapsed_spaces_search = preg_replace('/( )+/', ' ', $filter['search']); $sql_search = ' AND (';