From eda2ae82f8c3b6671fa99260418d3b21e48809ca Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Tue, 28 Aug 2012 16:14:32 +0000 Subject: [PATCH] //small fix git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17061 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminWarehousesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminWarehousesController.php b/controllers/admin/AdminWarehousesController.php index db5841cdd..be8dd8f00 100644 --- a/controllers/admin/AdminWarehousesController.php +++ b/controllers/admin/AdminWarehousesController.php @@ -310,7 +310,7 @@ class AdminWarehousesControllerCore extends AdminController $id_default_currency = Configuration::get('PS_CURRENCY_DEFAULT'); $default_currency = Currency::getCurrency($id_default_currency); if ($default_currency) - $currencies = array_merge(array($default_currency, '-'), $currencies); + $currencies = array_merge(array($default_currency, array('id_currency' => 0, 'name' => '-')), $currencies); // adds input valuation currency $this->fields_form['input'][] = array(