From 68ebd15045e825cc2a9ecce6580718a41939b423 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Tue, 21 Aug 2012 11:42:47 +0000 Subject: [PATCH] // Fixed #PSCFV-3697 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16931 b9a71923-0436-4b27-9f14-aed3839534dd --- 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')); } /**