suggestion by bart for those having a lot of forums.

git-svn-id: file:///svn/phpbb/trunk@6957 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-02-02 21:38:19 +00:00
parent 7c8f4431d3
commit bad991ee82

View file

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