no member rescue

This commit is contained in:
Harry Bomrah 2014-10-02 20:48:29 +08:00
parent 84a0d966ed
commit 33c7931d27
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
<label class="control-label muted"><%= t("personal_plugins.author") %></label>
<div class="controls">
<%= @member.name rescue ''%>
<%= f.hidden_field :member_profile_id, :value => @member.id %>
<%= f.hidden_field :member_profile_id, :value => @member.id if !@member.nil? %>
</div>
</div>