diff --git a/controllers/admin/AdminThemesController.php b/controllers/admin/AdminThemesController.php index e0562d4cd..876ac9e3d 100644 --- a/controllers/admin/AdminThemesController.php +++ b/controllers/admin/AdminThemesController.php @@ -614,7 +614,7 @@ class AdminThemesControllerCore extends AdminController $ext = ($field_name == 'PS_STORES_ICON') ? '.gif' : '.jpg'; $logo_name = $logo_prefix.'-'.(int)$id_shop.$ext; - if (Context::getContext()->shop->getContext() == Shop::CONTEXT_ALL || $id_shop == 0) + if (Context::getContext()->shop->getContext() == Shop::CONTEXT_ALL || $id_shop == 0 || (bool)Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE')==false) $logo_name = $logo_prefix.$ext; if ($field_name == 'PS_STORES_ICON')