aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2010-03-11 00:38:56 +0100
committerJoas Schilling <nickvergessen@gmx.de>2011-04-07 13:45:44 +0200
commit3352141264993982215b714ac7a128854494ac1f (patch)
tree1fc4a4d85919402e957b1ce6448764aad791bc0d /phpBB/report.php
parent7074d19c4087fab0e81a31bd806724d7eac7ef87 (diff)
downloadforums-3352141264993982215b714ac7a128854494ac1f.tar
forums-3352141264993982215b714ac7a128854494ac1f.tar.gz
forums-3352141264993982215b714ac7a128854494ac1f.tar.bz2
forums-3352141264993982215b714ac7a128854494ac1f.tar.xz
forums-3352141264993982215b714ac7a128854494ac1f.zip
[ticket/9684] Remove code for global announcement in root-files
PHPBB3-9684
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/report.php b/phpBB/report.php
index 8e780813ff..a30914392b 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -70,7 +70,7 @@ if ($post_id)
trigger_error('POST_NOT_EXIST');
}
- $forum_id = (int) ($report_data['forum_id']) ? $report_data['forum_id'] : $forum_id;
+ $forum_id = (int) $report_data['forum_id'];
$topic_id = (int) $report_data['topic_id'];
$sql = 'SELECT *