- Timestamp:
- 2010/12/16 23:18:05 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/helper/SC_Helper_DB.php
r19729 r19730 799 799 $objQuery =& SC_Query::getSingletonInstance(); 800 800 $where = "product_id = ?"; 801 $category_id = $objQuery->getCol(" dtb_product_categories", "category_id", "product_id = ?", array($product_id));801 $category_id = $objQuery->getCol("category_id", "dtb_product_categories", "product_id = ?", array($product_id)); 802 802 $this->g_category_id = $category_id; 803 803 } else { … … 1723 1723 $objQuery =& SC_Query::getSingletonInstance(); 1724 1724 $where = "product_id = ?"; 1725 $maker_id = $objQuery->getCol(" dtb_products", "maker_id", "product_id = ?", array($product_id));1725 $maker_id = $objQuery->getCol("maker_id", "dtb_products", "product_id = ?", array($product_id)); 1726 1726 $this->g_maker_id = $maker_id; 1727 1727 } else {
Note: See TracChangeset
for help on using the changeset viewer.