作业列表打不开
This commit is contained in:
parent
e03bc42c53
commit
fc95d048a5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue