Skip to content

Commit

Permalink
User: Fix Missing Space in Address
Browse files Browse the repository at this point in the history
  • Loading branch information
kergomard committed Jul 2, 2024
1 parent d49e18e commit 417a05a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,9 @@ public function getEmbeddable(bool $a_add_goto = false): string

case 'zipcode':
case 'city':
$address[1] = ($address[1] ?? '') . $address_value;
$address[1] = isset($address[1])
? "{$address[1]} {$address_value}"
: $address_value;
break;

case 'sel_country':
Expand Down

0 comments on commit 417a05a

Please sign in to comment.