diff --git a/modules/editorial/editorial.php b/modules/editorial/editorial.php index 8a8c70dec..3df3fa570 100644 --- a/modules/editorial/editorial.php +++ b/modules/editorial/editorial.php @@ -285,6 +285,8 @@ class Editorial extends Module { $id_shop = (int)$this->context->shop->id; $editorial = EditorialClass::getByIdShop($id_shop); + if (!$editorial) + return; $editorial = new EditorialClass((int)$editorial->id, $this->context->language->id); if (!$editorial) return;