From ef427b6483e89d797fed11485bdc857039d3b61f Mon Sep 17 00:00:00 2001 From: Vic D'Elfant Date: Mon, 30 Apr 2007 11:44:54 +0000 Subject: - #10159 (as well as the exact same issue with reports) - #10263 git-svn-id: file:///svn/phpbb/trunk@7432 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/report.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/report.php') diff --git a/phpBB/report.php b/phpBB/report.php index d0584b9d63..cbae24b228 100644 --- a/phpBB/report.php +++ b/phpBB/report.php @@ -132,7 +132,8 @@ if ($submit && $reason_id) { $sql = 'UPDATE ' . TOPICS_TABLE . ' SET topic_reported = 1 - WHERE topic_id = ' . $report_data['topic_id']; + WHERE topic_id = ' . $report_data['topic_id'] . ' + OR topic_moved_id = ' . $report_data['topic_id']; $db->sql_query($sql); } -- cgit v1.2.1