From 8dbbfd61725577fb45faa5dbd0cbccf252aa6417 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sat, 25 Jan 2020 03:07:00 +0000 Subject: Exporting issue as PDF fails when the issue has private journal (#32858). Patch by Kouhei Sutou. git-svn-id: http://svn.redmine.org/redmine/trunk@19458 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/export/pdf/issues_pdf_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/redmine/export/pdf/issues_pdf_helper.rb b/lib/redmine/export/pdf/issues_pdf_helper.rb index 15c0b43cc..81f1a8174 100644 --- a/lib/redmine/export/pdf/issues_pdf_helper.rb +++ b/lib/redmine/export/pdf/issues_pdf_helper.rb @@ -212,7 +212,7 @@ module Redmine assoc[:journals].each do |journal| pdf.SetFontStyle('B',8) title = "##{journal.indice} - #{format_time(journal.created_on)} - #{journal.user}" - title << " (#{l(:field_private_notes)})" if journal.private_notes? + title += " (#{l(:field_private_notes)})" if journal.private_notes? pdf.RDMCell(190,5, title) pdf.ln pdf.SetFontStyle('I',8) -- cgit v1.2.3