- Timestamp:
- 2012/03/01 10:06:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_DB.php
r21563 r21564 853 853 $objQuery =& SC_Query_Ex::getSingletonInstance(); 854 854 855 $where = "$pid_name IN (" . implode(',', array_fill(0, count($arrPID), '?')) . ")";855 $where = "$pid_name IN (" . SC_Utils_Ex::repeatStrWithSeparator('?', count($arrPID)) . ')'; 856 856 857 857 $return = $objQuery->getCol($id_name, $table, $where, $arrPID); … … 921 921 $arrRet = SC_Helper_DB_Ex::sfGetChildrenArray('dtb_category', 'parent_category_id', 'category_id', $category_id); 922 922 923 $where = 'category_id IN (' . implode(',', array_fill(0, count($arrRet), '?')) . ')';923 $where = 'category_id IN (' . SC_Utils_Ex::repeatStrWithSeparator('?', count($arrRet)) . ')'; 924 924 925 925 return array($where, $arrRet);
Note: See TracChangeset
for help on using the changeset viewer.
