Skip to content

Commit 16632cd

Browse files
authored
// Fix syntax error
1 parent e571433 commit 16632cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ps_googleanalytics.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ public function hookdisplayFooter()
321321
$this->filterable = 0;
322322

323323
$gacarts = json_decode($this->context->cookie->ga_cart);
324-
if (is_array($gacarts) {
324+
if (is_array($gacarts)) {
325325
foreach ($gacarts as $gacart) {
326326
if ($gacart['quantity'] > 0) {
327327
$ga_scripts .= 'MBG.addToCart('.json_encode($gacart).');';

0 commit comments

Comments
 (0)