[ticket/13441] Functions_convert fails to set global moderators default group

PHPBB3-13441
This commit is contained in:
Gaëtan Muller 2015-01-03 13:11:09 +01:00 committed by Marc Alexander
parent a92589436a
commit 0e0c649477

View file

@ -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');
$result = $db->sql_query($sql);
$user_ids = array();
while ($row = $db->sql_fetchrow($result))