500问题
This commit is contained in:
parent
afbe8267ae
commit
309cd06009
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue