summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-08-12 08:51:02 +0000
committerGo MAEDA <maeda@farend.jp>2024-08-12 08:51:02 +0000
commit095cc967cc26f232e237c2effe3d86c0cedcfb57 (patch)
tree2a4aa4f49ad52ca5f383af4d7235d5267f9af59c /lib
parentb3d1deeece819ee25de1b3168393845780d6c51e (diff)
downloadredmine-095cc967cc26f232e237c2effe3d86c0cedcfb57.tar.gz
redmine-095cc967cc26f232e237c2effe3d86c0cedcfb57.zip
Fix RuboCop offense Lint/RedundantStringCoercion, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22955 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 1b94685f3..b74531b38 100644
--- a/lib/redmine/export/pdf/issues_pdf_helper.rb
+++ b/lib/redmine/export/pdf/issues_pdf_helper.rb
@@ -38,7 +38,7 @@ module Redmine
i = 1
issue.ancestors.visible.each do |ancestor|
pdf.set_x(base_x + i)
- buf = "#{ancestor.tracker} # #{ancestor.id} (#{ancestor.status.to_s}): #{ancestor.subject}"
+ buf = "#{ancestor.tracker} # #{ancestor.id} (#{ancestor.status}): #{ancestor.subject}"
pdf.RDMMultiCell(190 - i, 5, buf)
i += 1 if i < 35
end