Commit 8f4439e0 authored by Felix Schäfer's avatar Felix Schäfer

Fix issue pdf export #561

The pdf export tried to export the initial journal, which it shouldn't.
parent 9e12deda
......@@ -408,6 +408,7 @@ module Redmine
pdf.RDMCell(190,5, l(:label_history), "B")
pdf.Ln
for journal in issue.journals.find(:all, :include => [:user], :order => "#{Journal.table_name}.created_at ASC")
next if journal.initial?
pdf.SetFontStyle('B',8)
pdf.RDMCell(190,5, format_time(journal.created_at) + " - " + journal.user.name)
pdf.Ln
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment