Changeset 19730 for branches/version-2_5-dev/data/class/helper
- Timestamp:
- 2010/12/16 23:18:05 (16 years ago)
- Location:
- branches/version-2_5-dev/data/class/helper
- Files:
-
- 2 edited
-
SC_Helper_CSV.php (modified) (1 diff)
-
SC_Helper_DB.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/helper/SC_Helper_CSV.php
r19670 r19730 170 170 // カテゴリID 171 171 if (in_array('category_id', $arrOutputCols)) { 172 $row['category_id'] = $objQuery->getCol("dtb_product_categories", 173 "category_id", 174 "product_id = ?", 175 array($row['product_id'])); 172 $row['category_id'] = $objQuery->getCol( 173 "category_id", 174 "dtb_product_categories", 175 "product_id = ?", 176 array($row['product_id']) 177 ); 176 178 } 177 179 -
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.
