Browse files

Fixed a bug where blank parent task fields where sometimes

processed.
  • Loading branch information...
1 parent 921bbd2 commit 6e6f4aacafe8d463699d79e0fce1fc039c1aadc9 Leo Hourvitz committed Jan 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/importer_controller.rb
View
2 app/controllers/importer_controller.rb
@@ -339,7 +339,7 @@ def result
# parent issues
begin
parent_value = row[attrs_map["parent_issue"]]
- if parent_value != nil
+ if parent_value && (parent_value.length > 0)
issue.parent_issue_id = issue_for_unique_attr(unique_attr,parent_value,row).id
end
rescue NoIssueForUniqueValue

0 comments on commit 6e6f4aa

Please sign in to comment.