-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
In functions_convert.php at line 2150, the query to get the user ids of the global moderators is not executed.
fix_empty_primary_groups() |
$sql = 'SELECT user_id FROM ' . USER_GROUP_TABLE . ' WHERE group_id = ' . get_group_id('global_moderators');
|
// Missing: $result = $db->sql_query($sql);
|
|
$user_ids = array();
|
while ($row = $db->sql_fetchrow($result))
|
{
|
$user_ids[] = $row['user_id'];
|
}
|
$db->sql_freeresult($result);
|