Skip to content

Commit a099ff7

Browse files
author
Olga Nakonechna
committed
MAGETWO-38790: Cookie Restriction Mode block is not shown on frontend
1 parent 51cafe3 commit a099ff7

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Cookie/View/frontend/templates/html

1 file changed

+1
-1
lines changed

app/code/Magento/Cookie/View/frontend/templates/html/notices.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"cookieNotices": {
2929
"cookieAllowButtonSelector": "#btn-cookie-allow",
3030
"cookieName": "<?php echo \Magento\Cookie\Helper\Cookie::IS_USER_ALLOWED_SAVE_COOKIE ?>",
31-
"cookieValue": "<?php echo $this->helper('Magento\Cookie\Helper\Cookie')->getAcceptedSaveCookiesWebsiteIds() ?>",
31+
"cookieValue": <?php echo $this->helper('Magento\Cookie\Helper\Cookie')->getAcceptedSaveCookiesWebsiteIds() ?>,
3232
"cookieLifetime": <?php echo $this->helper('Magento\Cookie\Helper\Cookie')->getCookieRestrictionLifetime()?>,
3333
"noCookiesUrl": "<?php echo $block->getUrl('cookie/index/noCookies') ?>"
3434
}

0 commit comments

Comments
 (0)