Description:
fix submission report, when submissions belong no non-existing user
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r415:8de9a512ac85 - - 1 file changed: 2 inserted, 0 deleted

@@ -51,6 +51,7
51 51 end
52 52
53 53 Submission.where("submitted_at >= ? AND submitted_at <= ?",@since_time,@until_time).find_each do |s|
54 + if @submissions[s.user_id]
54 55 if not @submissions[s.user_id][:sub].has_key?(s.problem_id)
55 56 a = nil
56 57 begin
@@ -68,3 +69,4
68 69 end
69 70 end
70 71 end
72 + end
You need to be logged in to leave comments. Login now