diff --git a/components/ILIAS/User/classes/Profile/class.ilPublicUserProfileGUI.php b/components/ILIAS/User/classes/Profile/class.ilPublicUserProfileGUI.php index ea1c78c556ca..134a34bbf0a4 100755 --- a/components/ILIAS/User/classes/Profile/class.ilPublicUserProfileGUI.php +++ b/components/ILIAS/User/classes/Profile/class.ilPublicUserProfileGUI.php @@ -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':