mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
- tiny issue in display_forums() made is possible for get_moderators() to cache the same query twice
git-svn-id: file:///svn/phpbb/trunk@6911 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -149,7 +149,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
|||||||
{
|
{
|
||||||
if ($row['forum_type'] != FORUM_CAT)
|
if ($row['forum_type'] != FORUM_CAT)
|
||||||
{
|
{
|
||||||
$forum_ids_moderator[] = $forum_id;
|
$forum_ids_moderator[] = (int) $forum_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Direct child of current branch
|
// Direct child of current branch
|
||||||
|
Reference in New Issue
Block a user