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

Update modules/reporting/app/controllers/cost_reports_controller.rb

Andrej Sandorf7ae831decabf
diff --git a/modules/reporting/app/controllers/cost_reports_controller.rb b/modules/reporting/app/controllers/cost_reports_controller.rb
index d66a649596a..80cefdf73c9 100644
--- a/modules/reporting/app/controllers/cost_reports_controller.rb
+++ b/modules/reporting/app/controllers/cost_reports_controller.rb
@@ -594,6 +594,6 @@ class CostReportsController < ApplicationController
end
def session_name
- report_engine.name.underscore.to_sym
+ @session_name ||= report_engine.name.underscore.to_sym
end
end