// Small fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16644 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -215,7 +215,7 @@ class AdminCartsControllerCore extends AdminController
|
||||
$this->context->cart->id_address_delivery = $addresses[0]['id_address'];
|
||||
elseif ($id_address_delivery)
|
||||
$this->context->cart->id_address_delivery = (int)$id_address_delivery;
|
||||
|
||||
$this->context->cart->setNoMultishipping();
|
||||
$this->context->cart->save();
|
||||
$currency = new Currency((int)$this->context->cart->id_currency);
|
||||
$this->context->currency = $currency;
|
||||
@@ -577,7 +577,7 @@ class AdminCartsControllerCore extends AdminController
|
||||
{
|
||||
$delivery_option_list_formated = array();
|
||||
$delivery_option_list = $this->context->cart->getDeliveryOptionList();
|
||||
|
||||
|
||||
if (!count($delivery_option_list))
|
||||
return array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user