Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Check only_recurring params
Browse files Browse the repository at this point in the history
  • Loading branch information
osahyoun committed Dec 5, 2016
1 parent c76c580 commit 20fc3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/payment_processor/braintree/one_click_from_uri.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def process

def recurring?
Plugins::Fundraiser.donation_default_for_page(page.id) ||
ActiveRecord::Type::Boolean.new.type_cast_from_user(params[:recurring])
%w(recurring only_recurring).include?(params[:recurring_default])
end

private
Expand Down

0 comments on commit 20fc3cc

Please sign in to comment.