Commit 96a8f2bd authored by Tim Zallmann's avatar Tim Zallmann

Fixed the default callout_id state

parent 30f0909c
......@@ -90,7 +90,7 @@ module LicenseHelper
end
def show_project_feature_promotion?(project_feature, callout_id = nil)
!@project.feature_available?(project_feature) && show_promotions? && !callout_id.nil? && show_callout?(callout_id)
!@project.feature_available?(project_feature) && show_promotions? && (callout_id.nil? || show_callout?(callout_id))
end
extend self
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment