修复测试版500问题

This commit is contained in:
huang 2017-03-29 09:19:43 +08:00
parent 679a6274e6
commit e55ccb9e91
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<span style="font-size:14px;">已处理</span>
<% elsif ma.status == 4 %>
<% operator_message = AppliedMessage.where("applied_id=? and user_id=? and status = 4", ma.applied_id, ma.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>