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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9575 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte committed 2011-10-24 08:53:35 +00:00
1 parent feee8cb438
commit 7151022505
2 files changed
+5 -2

No files matched your search

@@ -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;