From 9ccdcd97eeb41e8021fd5d66e1d9461a4e3598e1 Mon Sep 17 00:00:00 2001 From: fiedorow Date: Fri, 31 Dec 2004 15:23:50 +0000 Subject: [PATCH] Fix for bug #2323 - forum search problem --- lib/weblib.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 0aa34c343a..f5a56c2387 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1394,7 +1394,7 @@ function highlight($needle, $haystack, $case=0, return $haystack; } - $list_of_words = eregi_replace("[^-a-zA-Z0-9&']", " ", $needle); + $list_of_words = eregi_replace("[^-a-zA-Z0-9&.']", " ", $needle); $list_array = explode(' ', $list_of_words); for ($i=0; $i