From 0054fb5d744485d768da2ca6c17cb33ea4a9dd66 Mon Sep 17 00:00:00 2001 From: Hagen Schink Date: Tue, 8 Apr 2014 09:03:56 +0200 Subject: [PATCH] Fix missing story points --- lib/open_project/backlogs/hooks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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