From 9c80fcf83fed84358a8eeb612f2e1c22a6d90dde Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Tue, 2 Sep 2008 05:01:19 +0200 Subject: [PATCH] [svn r16203] Added limit to maximum 3 search terms at the same time --- main/inc/lib/search/search_widget.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main/inc/lib/search/search_widget.php b/main/inc/lib/search/search_widget.php index 8fc51ba9de..004498d63c 100644 --- a/main/inc/lib/search/search_widget.php +++ b/main/inc/lib/search/search_widget.php @@ -88,6 +88,7 @@ method="get"> foreach ($dktags as $tag) { $tag = trim($tag['name'], 'T '); + $tag = str_replace(' ', '_', $tag); $color = ""; if ($filter) { if (array_search($tag, $post_tags) !== FALSE) @@ -98,7 +99,11 @@ method="get">