作业列表打不开

This commit is contained in:
cxt 2016-05-09 10:32:41 +08:00
parent e03bc42c53
commit fc95d048a5
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ class HomeworkCommonController < ApplicationController
unless project.nil? && project.gpid.nil?
project_time=project.updated_on
project_time=ForgeActivity.where("project_id=?",project.id).last.updated_at if ForgeActivity.where("project_id=?",project.id).last
if time < project_time
if format_time(time) < format_time(project_time)
time = project_time
end
begin