From bad991ee82b34a04bd951b068c3bdc31bec28305 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 2 Feb 2007 21:38:19 +0000 Subject: [PATCH] suggestion by bart for those having a lot of forums. git-svn-id: file:///svn/phpbb/trunk@6957 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/mcp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')