500问题

This commit is contained in:
huang 2017-03-29 09:29:25 +08:00
parent afbe8267ae
commit 309cd06009
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
</span>
<% elsif ma.status == 5 %>
<% operator_message = AppliedMessage.where("applied_id=? and user_id=? and status = 4", ma.applied_id, ma.applied_user_id).first %>
<% operator = User.find(operator_message.applied_user_id).show_name %>
<% operator = User.find(operator_message.applied_user_id).try(:show_name) %>
<span style="font-size:14px" title="<%= operator %>已拒绝">
<%= operator %>已拒绝
</span>