From edcc6312279ceccf02d89c209b1e576f023368cd Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 15 Nov 2021 12:06:46 +0000 Subject: [PATCH] wip #4682 @0.5 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 63e2b31bf..4aa341289 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -670,6 +670,7 @@ class wsHTML5Compiler $this->addVideoJs(); $this->config->basketReferences = wsUtil::excelToArrayKeyVars($this->wdir . 'commerce/' . $this->book->parametres->basketReferences); + $this->config->eanReferences = wsUtil::excelToArrayKeyVars($this->wdir . 'commerce/ean.xlsx'); wsLinks::getLinksAndRulersFromFile($this->book_id, $links, $rulers); foreach ($links as $link) { @@ -1843,7 +1844,7 @@ height="0" width="0" style="display:none;visibility:hidden"> foreach ($linksCopy as $k => $linkData) { if ($linkData['type'] == 26 || $linkData == 40) { - $linkData['to']=anchorLink::normalizeAnchor($linkData['to']); + $linkData['to'] = anchorLink::normalizeAnchor($linkData['to']); $anchorExists[$linkData['to']] = $linkData; } if ($linkData['type'] == 35 || $linkData['type'] == 15 || $linkData['type'] == 39) { -- 2.39.5