relaxdiego/redmine_backlogs — Issue #293: remaining_hours branch broken
Author: alminium
Created: 2011-10-18 04:23:12+00:00
State: open

```
diff --git a/app/models/rb_task.rb b/app/models/rb_task.rb
index e55f25f..aa8cbed 100644
--- a/app/models/rb_task.rb
+++ b/app/models/rb_task.rb
@@ -142,7 +142,7 @@ class RbTask < Issue
series = Backlogs::MergedArray.new
series.merge(:hours => history(:remaining_hours, days))
series.merge(:sprint => history(:fixed_version_id, days))
- series.merge(:sprint_start => days.collect{|d| (d == sprint.sprint_start_date)}
+ series.merge(:sprint_start => days.collect{|d| (d == sprint.sprint_start_date)})
series.each{|d|
if d.sprint != sprint.id
d.hours = nil
```