aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php3
1 files changed, 2 insertions, 1 deletions
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);
}