From 59f5d60207a9232b3d24409383218f09ed1f2806 Mon Sep 17 00:00:00 2001 From: Alex Sears Date: Mon, 1 Jun 2015 16:07:37 -0400 Subject: [PATCH] New account gateways not saving Noticed a bug when setting up things locally. This prevented new account gateways from being saved in the DB. --- app/Http/Controllers/AccountGatewayController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/AccountGatewayController.php b/app/Http/Controllers/AccountGatewayController.php index 87a4aef80993..31e3a8d8de76 100644 --- a/app/Http/Controllers/AccountGatewayController.php +++ b/app/Http/Controllers/AccountGatewayController.php @@ -186,7 +186,7 @@ class AccountGatewayController extends BaseController $gatewayId = GATEWAY_PAYPAL_EXPRESS; } elseif ($paymentType == PAYMENT_TYPE_BITCOIN) { $gatewayId = GATEWAY_BITPAY; - } elseif ($paymentType = PAYMENT_TYPE_DWOLLA) { + } elseif ($paymentType == PAYMENT_TYPE_DWOLLA) { $gatewayId = GATEWAY_DWOLLA; } @@ -277,4 +277,4 @@ class AccountGatewayController extends BaseController } } -} \ No newline at end of file +}