diff options
author | brunoais <brunoaiss@gmail.com> | 2015-05-08 10:41:42 +0100 |
---|---|---|
committer | brunoais <brunoaiss@gmail.com> | 2015-05-08 10:41:42 +0100 |
commit | d4fb3996d3a7fc14021136211d9f70610c7aeba0 (patch) | |
tree | 49fc32ae48216158cd6b1e692124e020e36d8d82 | |
parent | 9e06beb48d2bb49108550e61369f31ae6c11eae0 (diff) | |
download | forums-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.php | 2 |
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', |