mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@5548 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
6c1f403b8e
commit
ddf61cbaef
1 changed files with 5 additions and 6 deletions
|
@ -538,14 +538,13 @@ function get_moderators(&$forum_moderators, $forum_id = false)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($forum_id !== false && is_array($forum_id))
|
||||||
|
{
|
||||||
// If we don't have a forum then we can't have a moderator
|
// If we don't have a forum then we can't have a moderator
|
||||||
if (!sizeof($forum_id))
|
if (!sizeof($forum_id))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($forum_id !== false && is_array($forum_id))
|
|
||||||
{
|
|
||||||
$forum_sql = 'AND forum_id IN (' . implode(', ', $forum_id) . ')';
|
$forum_sql = 'AND forum_id IN (' . implode(', ', $forum_id) . ')';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue