diff options
author | Vic D'Elfant <vic@phpbb.com> | 2007-04-30 11:44:54 +0000 |
---|---|---|
committer | Vic D'Elfant <vic@phpbb.com> | 2007-04-30 11:44:54 +0000 |
commit | ef427b6483e89d797fed11485bdc857039d3b61f (patch) | |
tree | 01dc6eb3921698e836fbd4c6db3d8d860bd2d45b /phpBB/report.php | |
parent | ed272ece1df30fd12af908855366532993bfbc8f (diff) | |
download | forums-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.php | 3 |
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); } |