[-] BO : fixed bug adminStores when enable multistory crash on save store
This commit is contained in:
1 parent
fe42d0f0fe
commit
b5dc797e04
1 file changed
+1
-2
@@ -191,7 +191,6 @@ class AdminStoresControllerCore extends AdminController
|
|||||||
'label' => $this->l('City'),
|
'label' => $this->l('City'),
|
||||||
'name' => 'city',
|
'name' => 'city',
|
||||||
'size' => 33,
|
'size' => 33,
|
||||||
'class' => 'uppercase',
|
|
||||||
'required' => true
|
'required' => true
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
@@ -332,7 +331,7 @@ class AdminStoresControllerCore extends AdminController
|
|||||||
{
|
{
|
||||||
/* Cleaning fields */
|
/* Cleaning fields */
|
||||||
foreach ($_POST as $kp => $vp)
|
foreach ($_POST as $kp => $vp)
|
||||||
if ($kp != 'checkBoxShopAsso_store')
|
if (!in_array($kp, array('checkBoxShopGroupAsso_store', 'checkBoxShopAsso_store')))
|
||||||
$_POST[$kp] = trim($vp);
|
$_POST[$kp] = trim($vp);
|
||||||
|
|
||||||
/* If the selected country does not contain states */
|
/* If the selected country does not contain states */
|
||||||
|
|||||||
Reference in new issue
Block a user