aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 1d851edb3e..ae40b92349 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -506,9 +506,11 @@ if (sizeof($shadow_topic_list))
'topic_moved_id' => $rowset[$orig_topic_id]['topic_moved_id'],
'topic_status' => $rowset[$orig_topic_id]['topic_status'],
'topic_type' => $rowset[$orig_topic_id]['topic_type'],
- 'topic_reported' => $rowset[$orig_topic_id]['topic_reported'],
));
+ // Shadow topics are never reported
+ $row['topic_reported'] = 0;
+
$rowset[$orig_topic_id] = $row;
}
$db->sql_freeresult($result);