summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2023-11-12 11:06:40 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2023-11-12 11:06:40 +0000
commit278b685bc8014cf6d4f46e96d42a16cfd270e095 (patch)
tree8082e3deed949bb500d9c13f0875b1ed25b83c22 /lib
parente646a3440b1f6659f53f4b17e789c7dc3f1e9cee (diff)
downloadredmine-278b685bc8014cf6d4f46e96d42a16cfd270e095.tar.gz
redmine-278b685bc8014cf6d4f46e96d42a16cfd270e095.zip
Merged r22418 from trunk to 5.0-stable (#39534).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22425 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 80c306a0e..0e020790a 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