I really dispise ), someone should ban them immediately

git-svn-id: file:///svn/phpbb/trunk@1294 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-11-09 13:05:54 +00:00
parent 4e5a771123
commit 45db03be26

View file

@ -500,7 +500,7 @@ if( isset($HTTP_GET_VARS['highlight']) )
for($i = 0; $i < count($words); $i++) for($i = 0; $i < count($words); $i++)
{ {
if( trim($words[$i] != "" ) if( trim($words[$i]) != "" )
{ {
$highlight_match[] = "#\b(" . str_replace("\*", ".*?", preg_quote($words[$i], "#")) . ")\b#i"; $highlight_match[] = "#\b(" . str_replace("\*", ".*?", preg_quote($words[$i], "#")) . ")\b#i";
$highlight_replace[] = "<font color=\"#FF0000\"><b>\\1</b></font>"; $highlight_replace[] = "<font color=\"#FF0000\"><b>\\1</b></font>";