Rationale: Similar to viewtopic.php?f=111&t=33726 the MODs also need to update the user_colour and maybe some more things.
Placement: includes/functions_user.php inside group_set_user_default best right before
Code: Select all
$sql = 'UPDATE ' . USERS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $sql_ary) . '
WHERE ' . $db->sql_in_set('user_id', $user_id_ary);
$db->sql_query($sql);
Output format: $sql_ary per reference