FIX empty cache when we want to load specific warehouses in select
Conflicts: htdocs/product/class/html.formproduct.class.php
This commit is contained in:
parent
e3edb37620
commit
5f08a649eb
@ -218,6 +218,7 @@ class FormProduct
|
||||
|
||||
$out='';
|
||||
if (empty($conf->global->ENTREPOT_EXTRA_STATUS)) $filterstatus = '';
|
||||
if (!empty($fk_product)) $this->cache_warehouses = array();
|
||||
$this->loadWarehouses($fk_product, '', $filterstatus, true, $exclude);
|
||||
$nbofwarehouses=count($this->cache_warehouses);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user