aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrunoais <brunoaiss@gmail.com>2015-05-08 10:41:42 +0100
committerbrunoais <brunoaiss@gmail.com>2015-05-08 10:41:42 +0100
commitd4fb3996d3a7fc14021136211d9f70610c7aeba0 (patch)
tree49fc32ae48216158cd6b1e692124e020e36d8d82
parent9e06beb48d2bb49108550e61369f31ae6c11eae0 (diff)
downloadforums-d4fb3996d3a7fc14021136211d9f70610c7aeba0.tar
forums-d4fb3996d3a7fc14021136211d9f70610c7aeba0.tar.gz
forums-d4fb3996d3a7fc14021136211d9f70610c7aeba0.tar.bz2
forums-d4fb3996d3a7fc14021136211d9f70610c7aeba0.tar.xz
forums-d4fb3996d3a7fc14021136211d9f70610c7aeba0.zip
[ticket/13668] Removed bogus sting concatenation
PHPBB3-13668
-rw-r--r--phpBB/includes/mcp/mcp_reports.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php
index d973d9c14d..56a1bb4df2 100644
--- a/phpBB/includes/mcp/mcp_reports.php
+++ b/phpBB/includes/mcp/mcp_reports.php
@@ -82,7 +82,7 @@ class mcp_reports
USERS_TABLE => 'u',
),
- 'WHERE' => '' . (($report_id) ? 'r.report_id = ' . $report_id : "r.post_id = $post_id") . '
+ 'WHERE' => (($report_id) ? 'r.report_id = ' . $report_id : "r.post_id = $post_id") . '
AND rr.reason_id = r.reason_id
AND r.user_id = u.user_id
AND r.pm_id = 0',