When I set up permissions for one group, they save correctly. However when I set up permissions for a second group, the permissions of the first group are cleared.
Version 2.5.3
In file system/expressionengine/controllers/cp/member.php
Lines 2166-2181 should probably be updated to:
if ( ! empty($channel_ids))
{
$this->db->where_in('channel_id', $channel_ids);
$this->db->where('group_id', $group_id);
$this->db->delete('channel_member_groups');
}
if ( ! empty($module_ids))
{
$this->db->where_in('module_id', $module_ids);
$this->db->where('group_id', $group_id);
$this->db->delete('module_member_groups');
}
if ( ! empty($template_ids))
{
$this->db->where_in('template_group_id', $template_ids);
$this->db->where('group_id', $group_id);
$this->db->delete('template_member_groups');
}