Changeset 18982
- Timestamp:
- 2010/11/06 19:34:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/helper/SC_Helper_DB.php
r18892 r18982 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.