From c594f2346bba05118b9ccc29241f85b6525821dd Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 3 Dec 2024 20:29:02 +0100 Subject: Bugfix: Date in search form not kept after submit Use the `==` (equal) instead of `===` (identical) comparison operator in the form template. This bug was silently introduced in 2021 with 8cd1105 in `core/include/search/main.php` where the `$FORM['OPTIONS']` array is since then filled with integer values and not string values anymore. --- theme/default/html/search/main.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'theme/default') diff --git a/theme/default/html/search/main.php b/theme/default/html/search/main.php index 336f49c..3042c33 100644 --- a/theme/default/html/search/main.php +++ b/theme/default/html/search/main.php @@ -12,21 +12,21 @@ - + -- cgit v1.2.3