[-] BO: Fix some bugs on advanced stock management

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16446 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-07-16 18:29:34 +00:00
parent 09cb7eff9b
commit a606873630
6 changed files with 81 additions and 75 deletions
+2
View File
@@ -432,6 +432,8 @@ class StockManagerCore implements StockManagerInterface
// casts for security reason
$ids_warehouse = array_map('intval', $ids_warehouse);
if (!count($ids_warehouse))
return 0;
}
else
$ids_warehouse = array();