Skip to content

Commit

Permalink
syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
drusepth committed Apr 27, 2017
1 parent c6d93ee commit e731074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/subscriptions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def change

# Add any bonus bandwidth our new plan grants, unless we're moving from Premium to Premium
premium_ids = [3, 4, 5, 6]
if !premium_ids.include?(current_user.selected_billing_plan_id) && premium_ids.include? new_plan_id
if !premium_ids.include?(current_user.selected_billing_plan_id) && premium_ids.include?(new_plan_id)
current_user.upload_bandwidth_kb += new_billing_plan.bonus_bandwidth_kb
end

Expand Down

0 comments on commit e731074

Please sign in to comment.