aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/mcp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index bf2666102a..9a22289495 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -585,7 +585,7 @@ function mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by_sql,
}
else
{
- $where_sql .= ' ' . $db->sql_in_set('p.forum_id', get_forum_list('m_report'));
+ $where_sql .= ' ' . $db->sql_in_set('p.forum_id', get_forum_list('!m_report'), true, true);
}
if ($mode == 'reports')