Ignore:
Timestamp:
2012/02/15 20:18:09 (12 years ago)
Author:
Seasoft
Message:

#1625 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Detail.php

    r21514 r21515  
    448448 
    449449        $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)); 
    451451 
    452452        $arrRecommendProductId = array(); 
     
    523523        $subImageFlag = false; 
    524524        for ($i = 1; $i <= PRODUCTSUB_MAX; $i++) { 
    525             if ($arrFile['sub_image' . $i]['filepath'] != "") { 
     525            if ($arrFile['sub_image' . $i]['filepath'] != '') { 
    526526                $subImageFlag = true; 
    527527            } 
     
    536536    function lfRegistFavoriteProduct($favorite_product_id,$customer_id) { 
    537537        // ログイン中のユーザが商品をお気に入りにいれる処理 
    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')) { 
    539539            SC_Utils_Ex::sfDispSiteError(PRODUCT_NOT_FOUND); 
    540540            return false; 
Note: See TracChangeset for help on using the changeset viewer.