From ed7bf224937dc5848b71c7fe093192d48c32bc33 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Tue, 21 Aug 2012 11:42:47 +0000 Subject: [PATCH] // Fixed #PSCFV-3697 --- classes/controller/AdminController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/controller/AdminController.php b/classes/controller/AdminController.php index c22d8d056..404c7ccfa 100644 --- a/classes/controller/AdminController.php +++ b/classes/controller/AdminController.php @@ -321,8 +321,7 @@ class AdminControllerCore extends Controller $this->initShopContext(); - $currency = Shop::getEntityIds('currency', $this->context->shop->id, true, true); - $this->context->currency = new Currency($currency[0]['id_currency']); + $this->context->currency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT')); } /**