Corrects guard close condition

pull/6827/head
Hagen Schink 11 years ago
parent 6b236cd81d
commit 17bdc7a593
  1. 2
      lib/open_project/backlogs/hooks.rb

@ -55,7 +55,7 @@ module OpenProject::Backlogs::Hooks
private
def work_package_show_story_points_attribute(work_package)
return nil if work_package.is_story?
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

Loading…
Cancel
Save