Fixed apple calcualtion issue on fresh coop installations.

This commit is contained in:
benni 2012-12-30 15:32:22 +01:00
parent 28aec7e4d6
commit 9db5a2fa14

View file

@ -31,7 +31,7 @@ class AppleBar
end
def mean_order_amount_per_job
(1/@global_avg).round
(1/@global_avg).round rescue 0
end
def apples