mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
parent
1fb81e9f56
commit
79ec686ec9
@ -90,7 +90,7 @@ class UserUpdater
|
|||||||
|
|
||||||
user.primary_group_id = attributes[:primary_group_id]
|
user.primary_group_id = attributes[:primary_group_id]
|
||||||
elsif SiteSetting.user_selected_primary_groups &&
|
elsif SiteSetting.user_selected_primary_groups &&
|
||||||
!attributes[:primary_group_id].present?
|
attributes[:primary_group_id].blank?
|
||||||
|
|
||||||
user.primary_group_id = nil
|
user.primary_group_id = nil
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user