diff options
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 1bc7ef27d9..a5a6c956e6 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -500,7 +500,7 @@ if( isset($HTTP_GET_VARS['highlight']) ) 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_replace[] = "<font color=\"#FF0000\"><b>\\1</b></font>"; |