diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-11-09 13:05:54 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-11-09 13:05:54 +0000 |
commit | 45db03be26712034fad00a513cb9ea065bcf6a4e (patch) | |
tree | 01336acf638065637aea9a5b7fd6b68065ac5d48 | |
parent | 4e5a7711231032f0fbee086867ee6ef12f02008c (diff) | |
download | forums-45db03be26712034fad00a513cb9ea065bcf6a4e.tar forums-45db03be26712034fad00a513cb9ea065bcf6a4e.tar.gz forums-45db03be26712034fad00a513cb9ea065bcf6a4e.tar.bz2 forums-45db03be26712034fad00a513cb9ea065bcf6a4e.tar.xz forums-45db03be26712034fad00a513cb9ea065bcf6a4e.zip |
I really dispise ), someone should ban them immediately
git-svn-id: file:///svn/phpbb/trunk@1294 89ea8834-ac86-4346-8a33-228a782c2dd0
-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>"; |