diff --git a/app/controllers/members_controller.rb b/app/controllers/members_controller.rb index 281942d06c..7f28ca8e14 100644 --- a/app/controllers/members_controller.rb +++ b/app/controllers/members_controller.rb @@ -199,7 +199,6 @@ class MembersController < ApplicationController user = UserInvitation.invite_new_user(email: id) || User.find_by_mail(id) - user.id if user else id @@ -220,7 +219,7 @@ class MembersController < ApplicationController def transform_array_of_comma_seperated_ids(array) return array unless array.present? each_comma_seperated(array) do |elem| - elem.to_s.split(',').map(&:to_i) + elem.to_s.split(',') end end diff --git a/config/locales/en.yml b/config/locales/en.yml index 9d59a78b15..7b246eff97 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1519,6 +1519,7 @@ en: status_active: "active" status_invited: invited + status_registered: registered # Used in array.to_sentence. support: