mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
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:
@@ -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>";
|
||||||
|
Reference in New Issue
Block a user