diff --git a/app/models/target.rb b/app/models/target.rb index 6a7990a8..0ef00a38 100644 --- a/app/models/target.rb +++ b/app/models/target.rb @@ -51,7 +51,7 @@ class Target < ActiveRecord::Base elsif unit == Target.units[:registrations] numerator = campaign.registrations_count elsif unit == Target.units[:program_minutes] - numerator = campaign.current_program_hours + numerator = conference.current_program_hours end progress = (numerator / target_count.to_f * 100).round(0).to_s