From b5dc797e049ba66d65637b720c002d0c17809d94 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Tue, 30 Oct 2012 10:28:16 +0000 Subject: [PATCH] [-] BO : fixed bug adminStores when enable multistory crash on save store --- controllers/admin/AdminStoresController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controllers/admin/AdminStoresController.php b/controllers/admin/AdminStoresController.php index 8963a1223..c2899c897 100644 --- a/controllers/admin/AdminStoresController.php +++ b/controllers/admin/AdminStoresController.php @@ -191,7 +191,6 @@ class AdminStoresControllerCore extends AdminController 'label' => $this->l('City'), 'name' => 'city', 'size' => 33, - 'class' => 'uppercase', 'required' => true ), array( @@ -332,7 +331,7 @@ class AdminStoresControllerCore extends AdminController { /* Cleaning fields */ foreach ($_POST as $kp => $vp) - if ($kp != 'checkBoxShopAsso_store') + if (!in_array($kp, array('checkBoxShopGroupAsso_store', 'checkBoxShopAsso_store'))) $_POST[$kp] = trim($vp); /* If the selected country does not contain states */