1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 01:36:57 +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

@@ -401,11 +401,11 @@ function mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by_sql,
if ($mode == 'reports')
{
$where_sql .= 'AND r.report_closed = 0';
$where_sql .= ' AND r.report_closed = 0';
}
else
{
$where_sql .= 'AND r.report_closed = 1';
$where_sql .= ' AND r.report_closed = 1';
}
$sql = 'SELECT COUNT(r.report_id) AS total