diff --git a/html/user/forum_search_action.php b/html/user/forum_search_action.php
index 7cab565cd9..99b611bc3f 100755
--- a/html/user/forum_search_action.php
+++ b/html/user/forum_search_action.php
@@ -3,6 +3,8 @@
* This file allows people to search for posts or a thread. Takes input from
* forum_search.php
**/
+
+$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
require_once('../inc/forum.inc');
require_once('../inc/forum_std.inc');
@@ -44,11 +46,11 @@ if ($thread_ids){
foreach ($thread_ids as $key => $thread_id){
$thread = new Thread($thread_id);
if ($thread->isHidden()) continue;
- $thread_forum = $thread->getForum();
+ $thread_forum = $thread->getForum();
echo '
- '.$thread_forum->getTitle().' |
- '.$thread->getTitle().' | ';
+ '.cleanup_title($thread_forum->getTitle()).' |
+ '.cleanup_title($thread->getTitle()).' | ';
echo '
'.($thread->getPostCount()+1).' |
'.re_user_links($thread->getOwner()).' |
@@ -78,11 +80,11 @@ if ($post_ids){
if ($post->isHidden()) continue;
$options->setHighlightTerms($search_list);
$contents = output_transform($post->getContent(),$options);
- $thread_forum = $thread->getForum();
+ $thread_forum = $thread->getForum();
echo '
- '.$thread_forum->getTitle().' |
- '.$thread->getTitle().' |
+ '.cleanup_title($thread_forum->getTitle()).' |
+ '.cleanup_title($thread->getTitle()).' |
'.re_user_links($post->getOwner()).' |
'.time_diff_str($post->getTimestamp(), time()).' |