Skip to content

Commit a6545ff

Browse files
committed
ACP2E-2021: Unable to switch to the second store in the front end
- Fixed the static test failure.
1 parent fb89a1d commit a6545ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Customer/view/frontend/templates/js/customer-data.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ $jsonHelper = $block->getData('jsonHelper');
1616
"Magento_Customer/js/customer-data": {
1717
"sectionLoadUrl": "<?= $block->escapeJs($block->getCustomerDataUrl('customer/section/load')) ?>",
1818
"expirableSectionLifetime": <?= (int)$block->getExpirableSectionLifetime() ?>,
19-
"expirableSectionNames": <?= /* @noEscape */ $jsonHelper->jsonEncode($block->getExpirableSectionNames()) ?>,
19+
"expirableSectionNames": <?= /* @noEscape */ $jsonHelper->jsonEncode(
20+
$block->getExpirableSectionNames()
21+
) ?>,
2022
"cookieLifeTime": "<?= $block->escapeJs($block->getCookieLifeTime()) ?>",
2123
"updateSessionUrl": "<?= $block->escapeJs(
2224
$block->getCustomerDataUrl('customer/account/updateSession')

0 commit comments

Comments
 (0)