//fix carrier wizard with multistore

This commit is contained in:
Vincent Augagneur committed 2013-08-13 10:09:19 +02:00
1 parent 3aff1341f6
commit 6cfde246a2
1 file changed
+1 -5
@@ -889,11 +889,7 @@ class AdminCarrierWizardControllerCore extends AdminController
if (Shop::isFeatureActive()) if (Shop::isFeatureActive())
{ {
$multistore_field = array(array('shop')); $multistore_field = array(array('shop'));
$tmp = $step_fields; array_splice($step_fields, 1, 0, $multistore_field);
$step_fields = array(1 => $tmp[1]) + $multistore_field;
array_shift($tmp);
foreach ($tmp as $row)
$step_field[] = $row;
} }
$rules = Carrier::getValidationRules('Carrier'); $rules = Carrier::getValidationRules('Carrier');