// Fixed #PSTEST-484

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12506 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2012-01-17 17:19:48 +00:00
parent 17e69a102e
commit 1646906f20
3 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -525,8 +525,11 @@ class WarehouseCore extends ObjectModel
}
}
$res = false;
// returns final list
return call_user_func_array('array_intersect', $list);
if (count($list) > 1)
$res = call_user_func_array('array_intersect', $list);
return $res;
}
/*********************************\