diff options
Diffstat (limited to 'app/helpers/issue_relations_helper.rb')
-rw-r--r-- | app/helpers/issue_relations_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issue_relations_helper.rb b/app/helpers/issue_relations_helper.rb index 02ff9d427..4323ea730 100644 --- a/app/helpers/issue_relations_helper.rb +++ b/app/helpers/issue_relations_helper.rb @@ -33,7 +33,7 @@ module IssueRelationsHelper end messages.map do |message, items| - ids = items.map(&:issue_to_id).compact + ids = items.filter_map(&:issue_to_id) if ids.empty? message else |