Skip to content

Commit fd212e1

Browse files
use - as city fallback
1 parent 1c07c36 commit fd212e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-wc-amazon-payments-advanced-api-abstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ public static function format_address( $address ) {
483483
$formatted['city'] = isset( $address->City ) ? (string) $address->City : null;
484484
if ( ! empty( $address->CountryCode ) && in_array( $address->CountryCode, array( 'JP' ) ) ) {
485485
if ( empty( $formatted['city'] ) ) {
486-
$formatted['city'] = ''; // Force empty city
486+
$formatted['city'] = ''; // Force empty city
487487
}
488488
}
489489
$formatted['postcode'] = isset( $address->PostalCode ) ? (string) $address->PostalCode : null;

0 commit comments

Comments
 (0)