Filter out duplicate results (#2038)

This commit is contained in:
jekkos
2018-08-26 14:22:50 +02:00
parent 26e33dddec
commit 0248a50ae3

View File

@@ -879,7 +879,7 @@ class Item extends CI_Model
$suggestions = array_slice($suggestions, 0, $limit);
}
return $suggestions;
return array_unique($suggestions);
}
public function get_low_sell_suggestions($search)