Changeset 19729 for branches/version-2_5-dev/data/class/util/SC_Utils.php
- Timestamp:
- 2010/12/16 23:12:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/util/SC_Utils.php
r19711 r19729 865 865 866 866 function sfGetProductClassId($product_id, $classcategory_id1, $classcategory_id2) { 867 // $where = "product_id = ? AND classcategory_id1 = ? AND classcategory_id2 = ?";868 867 $where = "product_id = ?"; 869 868 $objQuery = new SC_Query(); 870 // $ret = $objQuery->get("dtb_products_class", "product_class_id", $where, Array($product_id, $classcategory_id1, $classcategory_id2)); 871 $ret = $objQuery->get("dtb_products_class", "product_class_id", $where, Array($product_id)); 869 $ret = $objQuery->get("product_class_id", "dtb_products_class", $where, Array($product_id)); 872 870 return $ret; 873 871 }
Note: See TracChangeset
for help on using the changeset viewer.
