Ignore:
Timestamp:
2012/02/15 19:56:17 (12 years ago)
Author:
Seasoft
Message:

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

File:
1 edited

Legend:

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

    r21481 r21514  
    161161 
    162162        // 取得した表示すべきIDだけを指定して情報を取得。 
    163         $where = ""; 
     163        $where = ''; 
    164164        if (is_array($arrProductId) && !empty($arrProductId)) { 
    165165            $where = $tablename . 'product_id IN (' . implode(',', $arrProductId) . ')'; 
     
    179179        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    180180 
    181         $exists = $objQuery->exists('dtb_customer_favorite_products', "customer_id = ? AND product_id = ?", array($customer_id, $product_id)); 
     181        $exists = $objQuery->exists('dtb_customer_favorite_products', 'customer_id = ? AND product_id = ?', array($customer_id, $product_id)); 
    182182 
    183183        if ($exists) { 
    184             $objQuery->delete('dtb_customer_favorite_products', "customer_id = ? AND product_id = ?", array($customer_id, $product_id)); 
     184            $objQuery->delete('dtb_customer_favorite_products', 'customer_id = ? AND product_id = ?', array($customer_id, $product_id)); 
    185185        } 
    186186    } 
Note: See TracChangeset for help on using the changeset viewer.