Fix minore

This commit is contained in:
pek5892 2024-06-05 13:01:45 +02:00
parent aac06d1c0f
commit a871ae89b5
1 changed files with 3 additions and 1 deletions

View File

@ -232,6 +232,8 @@ class Query
if ($data != "'1970-01-01'") {
$search_filters[] = 'date('.$search_query.') = '.$data.'';
}
} 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.' %'));
}