[-] BO : BugFix : #PSCFV-2965 : Localization : updating default currency does not change currency on BO

This commit is contained in:
vChabot
2012-07-09 14:18:12 +00:00
parent c6a1948341
commit baa76d7633
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -317,7 +317,7 @@ class AdminControllerCore extends Controller
$this->initShopContext();
$currency = Shop::getEntityIds('currency', $this->context->shop->id);
$currency = Shop::getEntityIds('currency', $this->context->shop->id, true, true);
$this->context->currency = new Currency($currency[0]['id_currency']);
}