File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ' ])) {
You can’t perform that action at this time.
0 commit comments