diff options
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/search.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index 24ad87eb87..46feaa2177 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -1,4 +1,4 @@ -<?php +orig_word<?php /*************************************************************************** * search.php * ------------------- @@ -785,6 +785,7 @@ else if( $query_keywords != "" || $query_author != "" || $search_id ) $post_date = create_date($board_config['default_dateformat'], $searchset[$i]['post_time'], $board_config['board_timezone']); $message = $searchset[$i]['post_text']; + $topic_title = $searchset[$i]['topic_title']; if( $showresults == "posts" ) { @@ -845,7 +846,7 @@ else if( $query_keywords != "" || $query_author != "" || $search_id ) if( count($orig_word) ) { - $topic_title = preg_replace($orig_word, $replacement_word, $searchset[$i]['topic_title']); + $topic_title = preg_replace($orig_word, $replacement_word, $topic_title); $post_subject = ( $searchset[$i]['post_subject'] != "" ) ? preg_replace($orig_word, $replacement_word, $searchset[$i]['post_subject']) : $topic_title; $message = preg_replace($orig_word, $replacement_word, $message); |