diff options
author | brunoais <brunoaiss@gmail.com> | 2015-05-08 10:43:48 +0100 |
---|---|---|
committer | brunoais <brunoaiss@gmail.com> | 2015-05-08 10:43:48 +0100 |
commit | 4119be5a3db462bdc45acf91a8d55d3129490f6f (patch) | |
tree | 64c935574e09167844d06c4aab986cc010ee7db2 /phpBB/includes | |
parent | 9833eb4f1390624279ff6c0022db01480f72383f (diff) | |
download | forums-4119be5a3db462bdc45acf91a8d55d3129490f6f.tar forums-4119be5a3db462bdc45acf91a8d55d3129490f6f.tar.gz forums-4119be5a3db462bdc45acf91a8d55d3129490f6f.tar.bz2 forums-4119be5a3db462bdc45acf91a8d55d3129490f6f.tar.xz forums-4119be5a3db462bdc45acf91a8d55d3129490f6f.zip |
[ticket/13672] Removed bogus sting concatenation
PHPBB3-13672
Diffstat (limited to 'phpBB/includes')
-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 5c42e6b810..3cbb931820 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', |