diff --git a/lib/open_project/backlogs/hooks.rb b/lib/open_project/backlogs/hooks.rb index f998ca55e8..50fe6bab0d 100644 --- a/lib/open_project/backlogs/hooks.rb +++ b/lib/open_project/backlogs/hooks.rb @@ -58,7 +58,7 @@ module OpenProject::Backlogs::Hooks return nil unless work_package.is_story? work_package_show_table_row(:story_points, :"story-points") do - work_package.story_points ? work_package.story_points : empty_element_tag + work_package.story_points ? work_package.story_points.to_s : empty_element_tag end end