解决sw_3用户主页500问题

This commit is contained in:
huang 2017-01-12 11:11:46 +08:00
parent 0bd5cd52d7
commit c370668b21
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@
<% end %> <% end %>
<% end %> <% end %>
<!-- 作业迟交,不能参与匿评提醒消息 --> <!-- 作业迟交,不能参与匿评提醒消息 -->
<% if ma.course_message_type == "StudentWork" && !ma.course_message.homework_common.nil? && !User.current.allowed_to?(:as_teacher, ma.course_message.homework_common.course) && ma.course_message %> <% if ma.course_message_type == "StudentWork" && !ma.course_message.nil? && !ma.course_message.homework_common.nil? && !User.current.allowed_to?(:as_teacher, ma.course_message.homework_common.course) && ma.course_message %>
<ul class="homepageNewsList fl"> <ul class="homepageNewsList fl">
<div class="shortMessageWidth"> <div class="shortMessageWidth">
<li class="homepageNewsPortrait fl"> <li class="homepageNewsPortrait fl">