##// END OF EJS Templates
Issue#children is never nil (#14015)....
Jean-Philippe Lang -
r11603:76a3298306ef
parent child
Show More
@@ -902,7 +902,7 class Issue < ActiveRecord::Base
902
902
903 # Add children to queue, but only if they are not already in it and
903 # Add children to queue, but only if they are not already in it and
904 # the children of the current node need to be processed.
904 # the children of the current node need to be processed.
905 if current_issue.children && (current_issue_status == ePROCESS_CHILDREN_ONLY || current_issue_status == ePROCESS_ALL)
905 if (current_issue_status == ePROCESS_CHILDREN_ONLY || current_issue_status == ePROCESS_ALL)
906 current_issue.children.each do |child|
906 current_issue.children.each do |child|
907 next if except.include?(child)
907 next if except.include?(child)
908
908
General Comments 0
You need to be logged in to leave comments. Login now