aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2008-10-11 18:23:12 +0000
committerChris Smith <toonarmy@phpbb.com>2008-10-11 18:23:12 +0000
commit213773e368c9ac51b15216830d74584674c549f2 (patch)
tree5dddabfacd0a24460ab9034808e12a888bcc8a8f /phpBB/viewforum.php
parent853a12cf00ef5d8b1bc1f2590d7b069ce04ac690 (diff)
downloadforums-213773e368c9ac51b15216830d74584674c549f2.tar
forums-213773e368c9ac51b15216830d74584674c549f2.tar.gz
forums-213773e368c9ac51b15216830d74584674c549f2.tar.bz2
forums-213773e368c9ac51b15216830d74584674c549f2.tar.xz
forums-213773e368c9ac51b15216830d74584674c549f2.zip
Really fix #13970 broken fix in r8853.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9003 89ea8834-ac86-4346-8a33-228a782c2dd0
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 60a6e39c54..14564ad38c 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);