Skip to content

Commit 402f7b4

Browse files
committed
Fix bug.
1 parent 7319b02 commit 402f7b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

model/store/product.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function getProducts($data = array())
134134
}
135135

136136
if (!empty($data['filter_ids'])) {
137-
$sql->where('p.`id_product` IN ' . "('" . pSQL(implode("','", $data['filter_ids'])) . "')");
137+
$sql->where('p.`id_product` IN ' . "('" . implode("','", $data['filter_ids']) . "')");
138138
}
139139

140140
if (!empty($data['filter_special'])) {
@@ -172,7 +172,7 @@ public function getTotalProducts($data = array())
172172
$sql->where('p.`id_category_default` = ' . (int)$data['filter_category_id']);
173173
}
174174
if (!empty($data['filter_product_ids'])) {
175-
$sql->where('p.`id_product` IN ' . "('" . pSQL(implode("','", $data['filter_product_ids'])) . "')");
175+
$sql->where('p.`id_product` IN ' . "('" . implode("','", $data['filter_product_ids']) . "')");
176176
}
177177

178178
if (!empty($data['filter_special'])) {

0 commit comments

Comments
 (0)