- Timestamp:
- 2012/02/15 20:18:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Detail.php
r21514 r21515 448 448 449 449 $objQuery->setOrder('rank DESC'); 450 $arrRecommendData = $objQuery->select('recommend_product_id, comment', 'dtb_recommend_products', "product_id = ?", array($product_id));450 $arrRecommendData = $objQuery->select('recommend_product_id, comment', 'dtb_recommend_products', 'product_id = ?', array($product_id)); 451 451 452 452 $arrRecommendProductId = array(); … … 523 523 $subImageFlag = false; 524 524 for ($i = 1; $i <= PRODUCTSUB_MAX; $i++) { 525 if ($arrFile['sub_image' . $i]['filepath'] != "") {525 if ($arrFile['sub_image' . $i]['filepath'] != '') { 526 526 $subImageFlag = true; 527 527 } … … 536 536 function lfRegistFavoriteProduct($favorite_product_id,$customer_id) { 537 537 // ログイン中のユーザが商品をお気に入りにいれる処理 538 if (!SC_Helper_DB_Ex::sfIsRecord('dtb_products', 'product_id', $favorite_product_id, "del_flg = 0 AND status = 1")) {538 if (!SC_Helper_DB_Ex::sfIsRecord('dtb_products', 'product_id', $favorite_product_id, 'del_flg = 0 AND status = 1')) { 539 539 SC_Utils_Ex::sfDispSiteError(PRODUCT_NOT_FOUND); 540 540 return false;
Note: See TracChangeset
for help on using the changeset viewer.