diff --git a/app/views/admin/diplomas/_form.html.erb b/app/views/admin/diplomas/_form.html.erb index d2baf33..c6c44bd 100644 --- a/app/views/admin/diplomas/_form.html.erb +++ b/app/views/admin/diplomas/_form.html.erb @@ -34,7 +34,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? %>