# HG changeset patch # User Nattee Niparnan # Date 2016-10-05 08:33:43 # Node ID 14a14eb28fede5ca2f9c786dd86a11bf3a5a9c2d # Parent db36298d10ca5bbc61bdf1a36fecace0186bca66 - fix syntax error 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 @@ -474,6 +474,7 @@ ustat << [(sub.points.to_f*100/p.full_score).round, (sub.points>=p.full_score)] else ustat << [0,false] + end end end scorearray << ustat