mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/13441] Functions_convert fails to set global moderators default group
PHPBB3-13441
This commit is contained in:
parent
a92589436a
commit
0e0c649477
1 changed files with 1 additions and 0 deletions
|
@ -2148,6 +2148,7 @@ function fix_empty_primary_groups()
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = 'SELECT user_id FROM ' . USER_GROUP_TABLE . ' WHERE group_id = ' . get_group_id('global_moderators');
|
$sql = 'SELECT user_id FROM ' . USER_GROUP_TABLE . ' WHERE group_id = ' . get_group_id('global_moderators');
|
||||||
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
$user_ids = array();
|
$user_ids = array();
|
||||||
while ($row = $db->sql_fetchrow($result))
|
while ($row = $db->sql_fetchrow($result))
|
||||||
|
|
Loading…
Add table
Reference in a new issue