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

This commit is contained in:
rGaillard
2012-07-16 18:29:34 +00:00
parent 399526e451
commit 10d148782a
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();