[-] BO : BugFix : #PSCFV-2798 : Multistore : BUG on the "modify products page" with another shop device

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16010 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-06-13 13:23:52 +00:00
parent fa866d7057
commit 021272870f
6 changed files with 47 additions and 8 deletions
+3 -2
View File
@@ -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']);
}
/**