// remove warning in multishop

This commit is contained in:
gRoussac
2013-03-14 17:49:07 +01:00
parent 3599958b5c
commit 96afbb53cf
+2
View File
@@ -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;