[-] BO : fixed bug #PSCFV-4471
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17603 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -3383,7 +3383,7 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
|
|
||||||
protected function getCarrierList()
|
protected function getCarrierList()
|
||||||
{
|
{
|
||||||
$carrier_list = Carrier::getCarriers($this->context->language->id);
|
$carrier_list = Carrier::getCarriers($this->context->language->id, false, false, false, null, Carrier::ALL_CARRIERS);
|
||||||
if ($product = $this->loadObject(true))
|
if ($product = $this->loadObject(true))
|
||||||
{
|
{
|
||||||
$carrier_selected_list = $product->getCarriers();
|
$carrier_selected_list = $product->getCarriers();
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ class AdminWarehousesControllerCore extends AdminController
|
|||||||
'required' => false,
|
'required' => false,
|
||||||
'multiple' => true,
|
'multiple' => true,
|
||||||
'options' => array(
|
'options' => array(
|
||||||
'query' => Carrier::getCarriers($this->context->language->id, true),
|
'query' => Carrier::getCarriers($this->context->language->id, false, false, false, null, Carrier::ALL_CARRIERS),
|
||||||
'id' => 'id_reference',
|
'id' => 'id_reference',
|
||||||
'name' => 'name'
|
'name' => 'name'
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user