From: vincent@cubedesigners.com Date: Mon, 2 Dec 2019 16:52:59 +0000 (+0000) Subject: wait #3232 @1.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=35f7620a9e28f268bd713db80469517920cbfb11;p=cubeextranet.git wait #3232 @1.5 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index 4e1aa67f0..9a40dd320 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -108,6 +108,9 @@ class wsHTML5Link case 11: return new actionLink($id, $init, $compiler); case 12: + if ($compiler->book->parametres->product_zoom_references !== '') { + return new zoomProductLink($id, $init, $compiler); + } switch ($compiler->book->parametres->basketManager) { case 'Remarkable': return new remarkableCartLink($id, $init, $compiler); @@ -1914,7 +1917,7 @@ class zoomProductLink extends zoomLink $n = count($url); for ($i = 1; $i < $n; $i++) { if (isset($url[$i]) && $url[$i]) { - $res['extra-'.$i] = $url[$i]; + $res['extra-' . $i] = $url[$i]; } } }