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:
@@ -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
|
||||
|
Reference in New Issue
Block a user