diff --git a/admin/inc/class.admin_cmd_edit_group.inc.php b/admin/inc/class.admin_cmd_edit_group.inc.php index 4021a69a6f..fbe3903337 100644 --- a/admin/inc/class.admin_cmd_edit_group.inc.php +++ b/admin/inc/class.admin_cmd_edit_group.inc.php @@ -232,7 +232,7 @@ class admin_cmd_edit_group extends admin_cmd foreach($data['set'] as $name => $value) { if ($data['old'][$name] == $value || - is_array($value) && count($value) == count(array_intersect($value, $data['old'][$name]))) + is_array($value) && sort($value) && sort($data['old'][$name]) && $value == $data['old'][$name]) { unset($data['old'][$name], $data['set'][$name]); }