// Fix configuration when multishop is disabled
This commit is contained in:
1 parent
dfd1e983b0
commit
a057ac8e2e
1 file changed
+3
@@ -448,6 +448,9 @@ class ConfigurationCore extends ObjectModel
|
|||||||
*/
|
*/
|
||||||
protected static function getShopFromContext(&$id_group_shop, &$id_shop)
|
protected static function getShopFromContext(&$id_group_shop, &$id_shop)
|
||||||
{
|
{
|
||||||
|
if (!Shop::isFeatureActive())
|
||||||
|
return;
|
||||||
|
|
||||||
list($shopID, $shopGroupID) = Shop::getContext();
|
list($shopID, $shopGroupID) = Shop::getContext();
|
||||||
if (is_null($id_shop))
|
if (is_null($id_shop))
|
||||||
$id_shop = $shopID;
|
$id_shop = $shopID;
|
||||||
|
|||||||
Reference in new issue
Block a user