We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e571433 commit 16632cdCopy full SHA for 16632cd
1 file changed
ps_googleanalytics.php
@@ -321,7 +321,7 @@ public function hookdisplayFooter()
321
$this->filterable = 0;
322
323
$gacarts = json_decode($this->context->cookie->ga_cart);
324
- if (is_array($gacarts) {
+ if (is_array($gacarts)) {
325
foreach ($gacarts as $gacart) {
326
if ($gacart['quantity'] > 0) {
327
$ga_scripts .= 'MBG.addToCart('.json_encode($gacart).');';
0 commit comments