Changeset 21646 for branches/version-2_12-dev/data/class/SC_Product.php
- Timestamp:
- 2012/03/14 21:34:50 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_Product.php
r21640 r21646 208 208 function getDetail($productId) { 209 209 $objQuery =& SC_Query_Ex::getSingletonInstance(); 210 $result = $objQuery-> select('*', $this->alldtlSQL('product_id = ?'),210 $result = $objQuery->getRow('*', $this->alldtlSQL('product_id = ?'), 211 211 'product_id = ?', 212 212 array($productId, $productId)); 213 return $result[0];213 return (array)$result; 214 214 } 215 215 … … 395 395 $objQuery->setWhere('product_class_id = ? AND T1.del_flg = 0'); 396 396 $arrRes = $this->getProductsClassByQuery($objQuery, $productClassId); 397 return $arrRes[0];397 return (array)$arrRes[0]; 398 398 } 399 399
Note: See TracChangeset
for help on using the changeset viewer.
