// fix useless call to array_unique
This commit is contained in:
+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