aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
authorVic D'Elfant <vic@phpbb.com>2007-04-30 11:44:54 +0000
committerVic D'Elfant <vic@phpbb.com>2007-04-30 11:44:54 +0000
commitef427b6483e89d797fed11485bdc857039d3b61f (patch)
tree01dc6eb3921698e836fbd4c6db3d8d860bd2d45b /phpBB/report.php
parented272ece1df30fd12af908855366532993bfbc8f (diff)
downloadforums-ef427b6483e89d797fed11485bdc857039d3b61f.tar
forums-ef427b6483e89d797fed11485bdc857039d3b61f.tar.gz
forums-ef427b6483e89d797fed11485bdc857039d3b61f.tar.bz2
forums-ef427b6483e89d797fed11485bdc857039d3b61f.tar.xz
forums-ef427b6483e89d797fed11485bdc857039d3b61f.zip
- #10159 (as well as the exact same issue with reports)
- #10263 git-svn-id: file:///svn/phpbb/trunk@7432 89ea8834-ac86-4346-8a33-228a782c2dd0
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);
}