mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00: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:
parent
9359939eb2
commit
fae887b3a1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue