[-] BO : BugFix : #PSCFV-2798 : Multistore : BUG on the "modify products page" with another shop device
This commit is contained in:
@@ -312,9 +312,10 @@ class AdminControllerCore extends Controller
|
||||
// Get the name of the folder containing the custom tpl files
|
||||
$this->tpl_folder = Tools::toUnderscoreCase(substr($this->controller_name, 5)).'/';
|
||||
|
||||
$this->context->currency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT'));
|
||||
|
||||
$this->initShopContext();
|
||||
|
||||
$currency = Shop::getEntityIds('currency', $this->context->shop->id);
|
||||
$this->context->currency = new Currency($currency[0]['id_currency']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user