diff --git a/app/views/admin/researchs/_form.html.erb b/app/views/admin/researchs/_form.html.erb index c7ebb2c..3f2699e 100644 --- a/app/views/admin/researchs/_form.html.erb +++ b/app/views/admin/researchs/_form.html.erb @@ -37,7 +37,7 @@
<%= @member.name rescue ''%> - <%= f.hidden_field :member_profile_id, :value => @member.id %> + <%= f.hidden_field :member_profile_id, :value => @member.id if !@member.nil? %>