From 36d95c7ad5c74fb6a306ef7452e8f663dd7116b1 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 17 Sep 2017 12:24:59 +0300 Subject: [PATCH] Fix for editing account gateway settings --- resources/views/accounts/account_gateway.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/accounts/account_gateway.blade.php b/resources/views/accounts/account_gateway.blade.php index 28b345f60983..fd60a98ed77f 100644 --- a/resources/views/accounts/account_gateway.blade.php +++ b/resources/views/accounts/account_gateway.blade.php @@ -73,7 +73,7 @@ @foreach ($gateway->fields as $field => $details) - @if ($details && !$accountGateway && !is_array($details) && !is_bool($details)) + @if ($details && (!$accountGateway || !$accountGateway->getConfigField($field)) && !is_array($details) && !is_bool($details)) {!! Former::populateField($gateway->id.'_'.$field, $details) !!} @endif