aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/viewforum.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 99f6bcbc64..9d919ff0a7 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -380,6 +380,13 @@ if($total_topics || $total_announcements)
{
$topic_type = $lang['Topic_Sticky'] . " ";
}
+ else if($topic_type == TOPIC_MOVED)
+ {
+ $topic_type = $lang['Topic_Moved'] . " ";
+ //New topic is hidden in topic_status
+ $topic_rowset[$i]['topic_id'] = $topic_rowset[$i]['topic_status'];
+ $topic_rowset[$i]['topic_status'] = TOPIC_UNLOCKED;
+ }
else
{
$topic_type = "";
@@ -555,4 +562,4 @@ $template->pparse("body");
//
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
-?> \ No newline at end of file
+?>