管理员的作业页面报500

This commit is contained in:
cxt 2016-03-31 09:44:21 +08:00
parent 668a724064
commit 6a5b79cf6d
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@
<tbody>
<%@count=@page*30 %>
<% for homework in @homework do %>
<% unless homework.nil? %>
<% @count+=1 %>
<tr>
<td align="center">
@ -54,6 +55,7 @@
<%=format_date(homework.end_time) %>
</td>
</tr>
<% end %>
<% end %>
</tbody>
</table>