Index: /temp/trunk/html/admin/products/index.php
===================================================================
--- /temp/trunk/html/admin/products/index.php	(revision 9972)
+++ /temp/trunk/html/admin/products/index.php	(revision 9974)
@@ -153,5 +153,5 @@
 					if($tmp_where != "") {
 						$where.= " AND $tmp_where";
-						$arrval = array_merge($arrval, $tmp_arrval);
+						$arrval = array_merge((array)$arrval, (array)$tmp_arrval);
 					}
 					break;
Index: /temp/trunk/data/lib/slib.php
===================================================================
--- /temp/trunk/data/lib/slib.php	(revision 9894)
+++ /temp/trunk/data/lib/slib.php	(revision 9974)
@@ -1842,7 +1842,7 @@
 	foreach ($arrRet as $val) {
 		if($tmp_where == "") {
-			$tmp_where.= " category_id IN ( ? ";
+			$tmp_where.= " category_id IN ( ?";
 		} else {
-			$tmp_where.= " ,? ";
+			$tmp_where.= ",? ";
 		}
 		$arrval[] = $val;
