From: Toshi MARUYAMA Date: Sun, 22 Nov 2020 12:59:11 +0000 (+0000) Subject: remove spaces inside {} of lib/redmine/export/pdf/issues_pdf_helper.rb X-Git-Tag: 4.2.0~344 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7a3eea61786eea288d76878004f64cfb9ba56cae;p=redmine.git 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 --- 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)