[-] FO : #PSCFV-2623 - Fix address redirection

This commit is contained in:
mDeflotte
2012-06-08 07:34:33 +00:00
parent 92e84cb739
commit d3e0964287
+1 -1
View File
@@ -334,7 +334,7 @@ class ParentOrderControllerCore extends FrontController
Tools::redirect('');
}
else if (!Customer::getAddressesTotalById($this->context->customer->id))
Tools::redirect('index.php?controller=address&back=order.php&step=1&multi-shipping='.(int)Tools::getValue('multi-shipping'));
Tools::redirect('index.php?controller=address&back='.urlencode('order.php?step=1&multi-shipping='.(int)Tools::getValue('multi-shipping')));
$customer = $this->context->customer;
if (Validate::isLoadedObject($customer))
{