app/controllers/phcmemberspro/member/profiles_controller.rb in phcmemberspro-20.4.0 vs app/controllers/phcmemberspro/member/profiles_controller.rb in phcmemberspro-20.5.0
- old
+ new
@@ -69,10 +69,10 @@
@member_profile = Member::Profile.friendly.find(params[:id])
end
# Whitelist
def member_profile_params
- params.require(:member_profile).permit(:mfirstname, :mlastname, :mtitle, :memail, :mphone, :mnotes, :slug, :user_id, :user_name, :membership_id, :oganization_id)
+ params.require(:member_profile).permit(:id, :mfirstname, :mlastname, :mtitle, :memail, :mphone, :mnotes, :slug, :user_id, :user_name, :membership_id, :oganization_id)
end
end
end