summaryrefslogtreecommitdiffstats
path: root/lib/redmine/export
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2023-11-12 10:59:41 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2023-11-12 10:59:41 +0000
commitb30c77453fb2ae2d0a7279d38c000c6249802910 (patch)
tree5f94e412e05a90c0c22623745cf6824e558e6971 /lib/redmine/export
parent67396eeaaf92750c72c635a53dd657aecdb3a53e (diff)
downloadredmine-b30c77453fb2ae2d0a7279d38c000c6249802910.tar.gz
redmine-b30c77453fb2ae2d0a7279d38c000c6249802910.zip
Merged r22418 from trunk to 5.1-stable (#39534).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22423 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/export')
-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 6b3cbb1cf..85330e9cb 100644
--- a/lib/redmine/export/pdf/issues_pdf_helper.rb
+++ b/lib/redmine/export/pdf/issues_pdf_helper.rb
@@ -339,7 +339,7 @@ module Redmine
issue.visible_custom_field_values.detect do |v|
v.custom_field_id == column.custom_field.id
end
- is_html = cv.custom_field.full_text_formatting?
+ is_html = cv.custom_field.full_text_formatting? if cv
text = show_value(cv, is_html)
else
text = pdf_format_text issue, column.name.to_sym