diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-01-30 06:04:40 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-01-30 06:04:40 +0000 |
commit | 8270ad1e641a8c88a68696d44b4860ff422c3a9e (patch) | |
tree | 340d172a6d918230fc5b593a94ffdd7473b03054 /lib | |
parent | 26016fbf432f9be591e243eec8e4d019e86750cc (diff) | |
download | redmine-8270ad1e641a8c88a68696d44b4860ff422c3a9e.tar.gz redmine-8270ad1e641a8c88a68696d44b4860ff422c3a9e.zip |
Merged r4736 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.1-stable@4768 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/export/pdf.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index c4a2c3d90..c98b25ff4 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -255,7 +255,7 @@ module Redmine pdf.SetFontStyle('B',9) pdf.Cell(35,5, l(:field_description) + ":") pdf.SetFontStyle('',9) - pdf.MultiCell(155,5, issue.description,"BR") + pdf.MultiCell(155,5, issue.description.to_s,"BR") pdf.Line(pdf.GetX, y0, pdf.GetX, pdf.GetY) pdf.Line(pdf.GetX, pdf.GetY, 170, pdf.GetY) @@ -271,7 +271,7 @@ module Redmine pdf.Ln unless changeset.comments.blank? pdf.SetFontStyle('',8) - pdf.MultiCell(190,5, changeset.comments) + pdf.MultiCell(190,5, changeset.comments.to_s) end pdf.Ln end @@ -291,7 +291,7 @@ module Redmine end if journal.notes? pdf.SetFontStyle('',8) - pdf.MultiCell(190,5, journal.notes) + pdf.MultiCell(190,5, journal.notes.to_s) end pdf.Ln end |