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

This commit is contained in:
vChabot committed 2012-07-09 14:18:12 +00:00
1 parent c6a1948341
commit baa76d7633
2 files changed
+9 -5

No files matched your search

+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']);
}