Changeset 18984
- Timestamp:
- 2010/11/06 19:38:39 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-D/data/class/helper/SC_Helper_DB.php
r18910 r18984 859 859 */ 860 860 function removeProductByCategories($category_id, $product_id) { 861 $sqlval = array("category_id" => $category_id,862 "product_id" => $product_id);863 861 $objQuery =& SC_Query::getSingletonInstance(); 864 862 $objQuery->delete("dtb_product_categories", 865 "category_id = ? AND product_id = ?", $sqlval);863 "category_id = ? AND product_id = ?", array($category_id, $product_id)); 866 864 } 867 865
Note: See TracChangeset
for help on using the changeset viewer.