parent
1fb81e9f56
commit
79ec686ec9
|
@ -90,7 +90,7 @@ class UserUpdater
|
|||
|
||||
user.primary_group_id = attributes[:primary_group_id]
|
||||
elsif SiteSetting.user_selected_primary_groups &&
|
||||
!attributes[:primary_group_id].present?
|
||||
attributes[:primary_group_id].blank?
|
||||
|
||||
user.primary_group_id = nil
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue