[-] BO: Default country should be overriden in the context in multishop
This commit is contained in:
1 parent
b8273a13e6
commit
6747d3bbac
1 file changed
+4
-1
@@ -1940,7 +1940,10 @@ class AdminControllerCore extends Controller
|
||||
$this->context->shop = new Shop(Configuration::get('PS_SHOP_DEFAULT'));
|
||||
elseif ($this->context->shop->id != $shop_id)
|
||||
$this->context->shop = new Shop($shop_id);
|
||||
|
||||
|
||||
// Replace current default country
|
||||
$this->context->country = new Country((int)Configuration::get('PS_COUNTRY_DEFAULT'));
|
||||
|
||||
$this->initBreadcrumbs();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user