Skip to content

Commit d9a5a0c

Browse files
author
Hayder Sharhan
committed
MAGETWO-51801: PR Creation & Stabilization
- L3 fix.
1 parent c8d82c9 commit d9a5a0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Directory/Model/CountryInformationAcquirer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ protected function setCountryInfo($country, $regions, $storeLocale)
130130
$countryInfo->setFullNameLocale($country->getName($storeLocale));
131131
$countryInfo->setFullNameEnglish($country->getName('en_US'));
132132

133-
134133
if (array_key_exists($countryId, $regions)) {
135134
$regionsInfo = [];
136135
foreach ($regions[$countryId] as $id => $regionData) {

app/code/Magento/Theme/view/frontend/templates/html/header.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ $welcomeMessage = $block->getWelcome();
1515
case 'welcome': ?>
1616
<li class="greet welcome" data-bind="scope: 'customer'">
1717
<!-- ko if: customer().fullname -->
18-
<span data-bind="text: new String('<?php echo __('Welcome, %1!', '%1');?>').replace('%1', customer().firstname)"></span>
18+
<span data-bind="text: new String('<?php echo $block->escapeHtml(__('Welcome, %1!', '%1'));?>').replace('%1', customer().firstname)">
19+
</span>
1920
<!-- /ko -->
2021
<!-- ko ifnot: customer().fullname -->
2122
<span data-bind="html:'<?=$block->escapeHtml($welcomeMessage) ?>'"></span>

0 commit comments

Comments
 (0)