File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
app/code/Magento/Customer/view/frontend/templates/js Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 55 */
66
77/** @var \Magento\Customer\Block\CustomerData $block */
8+
9+ // phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis
810?>
911<script type="text/x-magento-init">
1012 {
1113 "*": {
1214 "Magento_Customer/js/customer-data": {
13- "sectionLoadUrl": "<?= $ block ->escapeJs ($ block ->escapeUrl ( $ block -> getCustomerDataUrl ('customer/section/load ' ) )) ?> ",
15+ "sectionLoadUrl": "<?= $ block ->escapeJs ($ block ->getCustomerDataUrl ('customer/section/load ' )) ?> ",
1416 "expirableSectionLifetime": <?= (int )$ block ->getExpirableSectionLifetime () ?> ,
1517 "expirableSectionNames": <?= /* @noEscape */ $ this ->helper (\Magento \Framework \Json \Helper \Data::class)->jsonEncode ($ block ->getExpirableSectionNames ()) ?> ,
1618 "cookieLifeTime": "<?= $ block ->escapeJs ($ block ->getCookieLifeTime ()) ?> ",
17- "updateSessionUrl": "<?= $ block ->escapeJs ($ block ->escapeUrl ( $ block -> getCustomerDataUrl ('customer/account/updateSession ' ) )) ?> "
19+ "updateSessionUrl": "<?= $ block ->escapeJs ($ block ->getCustomerDataUrl ('customer/account/updateSession ' )) ?> "
1820 }
1921 }
2022 }
You can’t perform that action at this time.
0 commit comments