1
0
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:
Nils Adermann
2006-04-08 14:30:46 +00:00
parent fc167b2e42
commit c5b203b485
4 changed files with 11 additions and 20 deletions

View File

@@ -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