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
Fix empty story in backlogs
Oliver Günther6d38de10b3b0
diff --git a/modules/backlogs/app/helpers/rb_common_helper.rb b/modules/backlogs/app/helpers/rb_common_helper.rbindex f55769cd1ed..6eeca081aae 100644--- a/modules/backlogs/app/helpers/rb_common_helper.rb+++ b/modules/backlogs/app/helpers/rb_common_helper.rb@@ -159,7 +159,12 @@ module RbCommonHelperenddef type_name_or_empty(story)- story.type.nil? ? '' : h(backlogs_types_by_id[story.type_id].name)+ return '' if story.type_id.nil?++ type = backlogs_types_by_id[story.type_id]+ return '' if type.nil?++ h(type.name)enddef date_string_with_milliseconds(d, add = 0)