From 7a3eea61786eea288d76878004f64cfb9ba56cae Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 22 Nov 2020 12:59:11 +0000 Subject: [PATCH] remove spaces inside {} of lib/redmine/export/pdf/issues_pdf_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20474 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/export/pdf/issues_pdf_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine/export/pdf/issues_pdf_helper.rb b/lib/redmine/export/pdf/issues_pdf_helper.rb index 8fba67f65..1cbaa726e 100644 --- a/lib/redmine/export/pdf/issues_pdf_helper.rb +++ b/lib/redmine/export/pdf/issues_pdf_helper.rb @@ -156,7 +156,7 @@ module Redmine end end - relations = issue.relations.select { |r| r.other_issue(issue).visible? } + relations = issue.relations.select {|r| r.other_issue(issue).visible?} unless relations.empty? truncate_length = (!is_cjk? ? 80 : 60) pdf.SetFontStyle('B',9) -- 2.39.5