diff options
author | Rubén Dávila <ruben@gitlab.com> | 2015-11-20 13:58:45 -0500 |
---|---|---|
committer | Rubén Dávila <ruben@gitlab.com> | 2015-11-20 13:58:45 -0500 |
commit | 3aabed3456506d1a917e6daba29cd46ce6a25dab (patch) | |
tree | f58582086f71534e254f0b792db9e27c5bf4d4b6 /app/models/concerns/taskable.rb | |
parent | fa9f2dec0e07ff3ae3a2acd6ee0586e317bdb7b6 (diff) | |
download | gitlab-ce-3aabed3456506d1a917e6daba29cd46ce6a25dab.tar.gz |
Fix bug that happened when replacing the Task list. #2296
REF: https://gitlab.com/gitlab-org/gitlab-ce/issues/2296#note_2724697
Diffstat (limited to 'app/models/concerns/taskable.rb')
-rw-r--r-- | app/models/concerns/taskable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/taskable.rb b/app/models/concerns/taskable.rb index de7588fea86..df2a9e3e84b 100644 --- a/app/models/concerns/taskable.rb +++ b/app/models/concerns/taskable.rb @@ -31,7 +31,7 @@ module Taskable old_task = old_tasks[i] next unless old_task - new_task.source == new_task.source && new_task.complete? != old_task.complete? + new_task.source == old_task.source && new_task.complete? != old_task.complete? end end |