mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
- allow reporting posts that have a closed report
- show multiple reports for one post correctly - Bug #1389 git-svn-id: file:///svn/phpbb/trunk@5771 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -222,11 +222,11 @@ class mcp_reports
|
||||
|
||||
if ($mode == 'reports')
|
||||
{
|
||||
$report_state = 'AND p.post_reported = 1';
|
||||
$report_state = 'AND p.post_reported = 1 AND r.report_closed = 0';
|
||||
}
|
||||
else
|
||||
{
|
||||
$report_state = 'AND p.post_reported = 0 AND r.report_closed = 1';
|
||||
$report_state = 'AND r.report_closed = 1';
|
||||
}
|
||||
|
||||
$sql = 'SELECT p.post_id
|
||||
|
Reference in New Issue
Block a user