// fix useless call to array_unique
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12148 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
bdad515233
commit
0abdd4269e
1 file changed
+2
-1
+2
-1
@@ -234,7 +234,8 @@ class SearchCore
|
|||||||
if (!count($eligibleProducts))
|
if (!count($eligibleProducts))
|
||||||
return ($ajax ? array() : array('total' => 0, 'result' => array()));
|
return ($ajax ? array() : array('total' => 0, 'result' => array()));
|
||||||
}
|
}
|
||||||
array_unique($eligibleProducts);
|
|
||||||
|
$eligibleProducts = array_unique($eligibleProducts);
|
||||||
|
|
||||||
$productPool = '';
|
$productPool = '';
|
||||||
foreach ($eligibleProducts as $id_product)
|
foreach ($eligibleProducts as $id_product)
|
||||||
|
|||||||
Reference in new issue
Block a user