Description:
- fix syntax error
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r599:14a14eb28fed - - 1 file changed: 1 inserted, 0 deleted

@@ -471,12 +471,13
471 471 #get latest score
472 472 sub = Submission.find_last_by_user_and_problem(u.id,p.id)
473 473 if (sub!=nil) and (sub.points!=nil) and p and p.full_score
474 474 ustat << [(sub.points.to_f*100/p.full_score).round, (sub.points>=p.full_score)]
475 475 else
476 476 ustat << [0,false]
477 + end
477 478 end
478 479 end
479 480 scorearray << ustat
480 481 end
481 482 return scorearray
482 483 end
You need to be logged in to leave comments. Login now