From a2cccab6afa2bcd2de55e3c0e9a5a4c04bfa62b6 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 8 Mar 2003 22:10:24 +0000 Subject: Additional info for profiles git-svn-id: file:///svn/phpbb/trunk@3612 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/viewtopic.php') diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index cf04a62f1a..534baaa503 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -251,7 +251,7 @@ if (isset($_GET['hilit'])) { if (trim($word) != '') { - $highlight_match .= (($highlight_match != '') ? '|' : '') . str_replace('*', '\w*', preg_quote($word, '#')); + $highlight_match .= (($highlight_match != '') ? '|' : '') . str_replace('*', '\w*?', preg_quote($word, '#')); } } unset($words); -- cgit v1.2.1