[-] BO : #PSCFV-3222 - Fix array unique strange working

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16439 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-07-16 13:44:38 +00:00
parent ff27b55c3a
commit 367496bfe8
2 changed files with 14 additions and 1 deletions
@@ -3567,7 +3567,7 @@ class AdminProductsControllerCore extends AdminController
if ($ws)
$warehouses[] = $ws;
}
$warehouses = array_unique($warehouses);
$warehouses = Tools::arrayUnique($warehouses);
if (empty($warehouses))
$advanced_stock_management_warning = true;