diff --git a/app/controllers/report_controller.rb b/app/controllers/report_controller.rb --- a/app/controllers/report_controller.rb +++ b/app/controllers/report_controller.rb @@ -465,6 +465,7 @@ protected def calculate_max_score(problems, users,since_id,until_id, get_last_score = false) + #score[i] = user #i's user stat where i is the index (not id) scorearray = Array.new users.each do |u| ustat = Array.new