From d4fb3996d3a7fc14021136211d9f70610c7aeba0 Mon Sep 17 00:00:00 2001 From: brunoais Date: Fri, 8 May 2015 10:41:42 +0100 Subject: [PATCH] [ticket/13668] Removed bogus sting concatenation PHPBB3-13668 --- phpBB/includes/mcp/mcp_reports.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',