Fix for online payments page

This commit is contained in:
Hillel Coren 2016-08-08 21:21:43 +03:00
parent 472ba842eb
commit e65fdd54b0

View File

@ -439,7 +439,7 @@ class AccountController extends BaseController
$account = Auth::user()->account;
$account->load('account_gateways');
$count = count($account->account_gateways);
$trashedCount = AccountGateway::scope($account->id)->withTrashed()->count();
$trashedCount = AccountGateway::scope()->withTrashed()->count();
if ($accountGateway = $account->getGatewayConfig(GATEWAY_STRIPE)) {
if (! $accountGateway->getPublishableStripeKey()) {