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

fix reference to method

ulferts45250f94bfbb
diff --git a/modules/costs/app/controllers/cost_types_controller.rb b/modules/costs/app/controllers/cost_types_controller.rb
index bacf91306b3..bbd09e3f35f 100644
--- a/modules/costs/app/controllers/cost_types_controller.rb
+++ b/modules/costs/app/controllers/cost_types_controller.rb
@@ -129,7 +129,7 @@ class CostTypesController < ApplicationController
cr.valid_from = today
end
- rate.rate = parse_number_string_to_number(params[:rate])
+ rate.rate = CostRate.parse_number_string_to_number(params[:rate])
if rate.save
flash[:notice] = t(:notice_successful_update)
redirect_to action: 'index'