Fix for postal code

This commit is contained in:
Hillel Coren 2018-02-14 15:41:40 +02:00
parent 978c2c33ee
commit 5ce0e58fdf

View File

@ -93,7 +93,7 @@ class ClientPresenter extends EntityPresenter
$city = e($client->{$prefix . 'city'}); $city = e($client->{$prefix . 'city'});
$state = e($client->{$prefix . 'state'}); $state = e($client->{$prefix . 'state'});
$postalCode = e($client->{$prefix . 'post_code'}); $postalCode = e($client->{$prefix . 'postal_code'});
if ($city || $state || $postalCode) { if ($city || $state || $postalCode) {
return Utils::cityStateZip($city, $state, $postalCode, $swap); return Utils::cityStateZip($city, $state, $postalCode, $swap);