Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

obey rubocop

as-opa221c2a573d2
diff --git a/app/models/work_package/pdf_export/export/wp/styles.rb b/app/models/work_package/pdf_export/export/wp/styles.rb
index d7f2c24c48c..e349d407287 100644
--- a/app/models/work_package/pdf_export/export/wp/styles.rb
+++ b/app/models/work_package/pdf_export/export/wp/styles.rb
@@ -53,11 +53,11 @@ module WorkPackage::PDFExport::Export::Wp::Styles
end
def inline_error
- resolve_font(@styles.dig(:inline_error))
+ resolve_font(@styles[:inline_error])
end
def inline_hint
- resolve_font(@styles.dig(:inline_hint))
+ resolve_font(@styles[:inline_hint])
end
end