// remove warning in multishop
This commit is contained in:
@@ -285,6 +285,8 @@ class Editorial extends Module
|
|||||||
{
|
{
|
||||||
$id_shop = (int)$this->context->shop->id;
|
$id_shop = (int)$this->context->shop->id;
|
||||||
$editorial = EditorialClass::getByIdShop($id_shop);
|
$editorial = EditorialClass::getByIdShop($id_shop);
|
||||||
|
if (!$editorial)
|
||||||
|
return;
|
||||||
$editorial = new EditorialClass((int)$editorial->id, $this->context->language->id);
|
$editorial = new EditorialClass((int)$editorial->id, $this->context->language->id);
|
||||||
if (!$editorial)
|
if (!$editorial)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user