From 4013a66bd9d121f0f95d7b7c6fd7bbbcd218f23c Mon Sep 17 00:00:00 2001 From: fiedorow Date: Thu, 30 Dec 2004 17:01:54 +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 b55e0a54e3b..0651a113127 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1008,7 +1008,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