summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-01-25 03:07:00 +0000
committerGo MAEDA <maeda@farend.jp>2020-01-25 03:07:00 +0000
commit8dbbfd61725577fb45faa5dbd0cbccf252aa6417 (patch)
treeee519e91ba9ef189187668efe370edc75c117f9c /lib
parent0c71a982e01f146fc7b30da04bf6757b363eb51a (diff)
downloadredmine-8dbbfd61725577fb45faa5dbd0cbccf252aa6417.tar.gz
redmine-8dbbfd61725577fb45faa5dbd0cbccf252aa6417.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/export/pdf/issues_pdf_helper.rb2
1 files changed, 1 insertions, 1 deletions
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)