summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/version_reports_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/version_reports_helper.rb b/app/helpers/version_reports_helper.rb
index 1f0f009..ced3d07 100644
--- a/app/helpers/version_reports_helper.rb
+++ b/app/helpers/version_reports_helper.rb
@@ -23,7 +23,7 @@ module VersionReportsHelper
end
def hour_budget_error(issue)
- return unless @show_hours
+ return unless @show_time
budget = hour_budget(issue)
if issue.total_spent_hours != budget
if issue.total_spent_hours < budget