// StockCover : udpated default warehouse

This commit is contained in:
bMancone
2011-10-24 10:13:39 +00:00
parent a70e6e4a7f
commit cd19a040e1
@@ -216,7 +216,7 @@ class AdminStockCoverControllerCore extends AdminController
if ($warehouse == 0) if ($warehouse == 0)
{ {
$warehouse = null; $warehouse = -1;
if ((int)Tools::getValue('coverage_warehouse')) if ((int)Tools::getValue('coverage_warehouse'))
$warehouse = (int)Tools::getValue('coverage_warehouse'); $warehouse = (int)Tools::getValue('coverage_warehouse');
else if ((int)$this->context->cookie->warehouse) else if ((int)$this->context->cookie->warehouse)