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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
close code review issues & hints https://github.com/opf/openproject/pull/19756#discussion_r2275892911
as-op4fb6c5a95e17
diff --git a/app/models/projects/exports/pdf_export/report.rb b/app/models/projects/exports/pdf_export/report.rbindex 8fa3eef235e..34101f5ea10 100644--- a/app/models/projects/exports/pdf_export/report.rb+++ b/app/models/projects/exports/pdf_export/report.rb@@ -166,7 +166,7 @@ module Projects::Exports::PDFExportenddef can_view_attribute?(_project, attribute)- attribute.nil? || %i[name favored].include?(attribute)+ attribute && %i[name favored].exclude?(attribute)enddef user_can_view_project_phases?(project)