From 9a4b63adbbfbe979dacdd1b72f6d8b2d170b1a41 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 29 Sep 2021 20:25:46 +1000 Subject: [PATCH] Minor fixes for PHP 7.4 --- resources/views/accounts/account_gateway.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/accounts/account_gateway.blade.php b/resources/views/accounts/account_gateway.blade.php index de3e4747ea5b..f72526c41ff4 100644 --- a/resources/views/accounts/account_gateway.blade.php +++ b/resources/views/accounts/account_gateway.blade.php @@ -219,9 +219,9 @@ ->help((Utils::isNinjaProd() && ! $account->subdomain) ? trans('texts.requires_subdomain', [ 'link' => link_to('/settings/client_portal', trans('texts.subdomain_is_set'), ['target' => '_blank']) ]) : ($accountGateway && $accountGateway->getApplePayEnabled() && Utils::isRootFolder() && ! $accountGateway->getAppleMerchantId() ? 'verification_file_missing' : - Utils::isNinjaProd() ? trans('texts.apple_pay_domain', [ + (Utils::isNinjaProd() ? trans('texts.apple_pay_domain', [ 'domain' => $account->subdomain . '.' . APP_DOMAIN, 'link' => link_to('https://dashboard.stripe.com/account/apple_pay', 'Stripe', ['target' => '_blank']), - ]) : '')) + ]) : ''))) ->value(1) !!} @if (Utils::isRootFolder())