[-] BugFix : Problem on changing warehouse in admin stock instant state

This commit is contained in:
mDeflotte
2011-10-24 08:53:35 +00:00
parent a819f7238d
commit e43a3cab6f
2 changed files with 5 additions and 2 deletions
@@ -154,6 +154,9 @@ class AdminStockInstantStateControllerCore extends AdminController
$warehouse = 1;
if ((int)Tools::getValue('warehouse'))
$warehouse = (int)Tools::getValue('warehouse');
else if ((int)$this->context->cookie->warehouse)
$warehouse = (int)$this->context->cookie->warehouse;
$this->context->cookie->warehouse = $warehouse;
}
return $warehouse;