Commit 0864c8f1b8e4c7f6c562d1d74cb5853c422c1a44
1 parent
086e9a75
event link fix
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/views/order/success.php
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | $this->params['remarketing']['id'][] = $variant['mod_id']; |
17 | 17 | $this->params['remarketing']['price'][] = $variant['price']; |
18 | 18 | } |
19 | - } elseif(!empty($variants)) { | |
19 | + } elseif(!empty($variants) && isset($variants[0])) { | |
20 | 20 | $this->params['remarketing']['id'] = $variants[0]['mod_id']; |
21 | 21 | $this->params['remarketing']['price'] = $variants[0]['price']; |
22 | 22 | } else { | ... | ... |