Issue#children is never nil (#14015).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11833 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2013-05-12 08:49:54 +00:00
parent 922acdbcc2
commit 76a3298306
1 changed files with 1 additions and 1 deletions

View File

@ -902,7 +902,7 @@ class Issue < ActiveRecord::Base
# Add children to queue, but only if they are not already in it and
# the children of the current node need to be processed.
if current_issue.children && (current_issue_status == ePROCESS_CHILDREN_ONLY || current_issue_status == ePROCESS_ALL)
if (current_issue_status == ePROCESS_CHILDREN_ONLY || current_issue_status == ePROCESS_ALL)
current_issue.children.each do |child|
next if except.include?(child)