mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-09 19:26:53 +02:00
[ticket/13441] Functions_convert fails to set global moderators default group
PHPBB3-13441
This commit is contained in:
committed by
Marc Alexander
parent
a92589436a
commit
0e0c649477
@ -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))
|
||||||
|
Reference in New Issue
Block a user