From 0abdd4269e255014a127f627ee8ec18c326a9150 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Wed, 4 Jan 2012 15:53:31 +0000 Subject: [PATCH] // 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 --- classes/Search.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/Search.php b/classes/Search.php index ffc22c2c8..519e1b898 100644 --- a/classes/Search.php +++ b/classes/Search.php @@ -234,7 +234,8 @@ class SearchCore if (!count($eligibleProducts)) return ($ajax ? array() : array('total' => 0, 'result' => array())); } - array_unique($eligibleProducts); + + $eligibleProducts = array_unique($eligibleProducts); $productPool = ''; foreach ($eligibleProducts as $id_product)