We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a82ea58 + 00db820 commit 936e905Copy full SHA for 936e905
1 file changed
classes/Hook/HookDisplayFooter.php
@@ -87,7 +87,7 @@ public function run()
87
88
$listing = $this->context->smarty->getTemplateVars('listing');
89
$productWrapper = new ProductWrapper($this->context);
90
- $products = $productWrapper->wrapProductList($listing['products'], [], true);
+ $products = $productWrapper->wrapProductList(isset($listing['products']) ? $listing['products'] : [], [], true);
91
92
if ($controller_name == 'order' || $controller_name == 'orderopc') {
93
$this->module->js_state = 1;
0 commit comments