diff --git a/stoptime.rb b/stoptime.rb index c6619b2..0c34401 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -820,7 +820,7 @@ module StopTime::Controllers if cur_active_task.nil? # Apparently there is no active task anymore, probably # it was a fixed-cost task - @billed_tasks[task] = [] + @billed_tasks[task] = [task] else @billed_tasks[cur_active_task] << task end