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_Order.php

    r21481 r21514  
    9191        //customer_idを検証 
    9292        $customer_id    = $objCustomer->getValue('customer_id'); 
    93         $order_count    = $objQuery->count('dtb_order', "order_id = ? and customer_id = ?", array($order_id, $customer_id)); 
     93        $order_count    = $objQuery->count('dtb_order', 'order_id = ? and customer_id = ?', array($order_id, $customer_id)); 
    9494        if ($order_count != 1) return array(); 
    9595 
    96         $col    = "product_class_id, quantity"; 
    97         $table  = "dtb_order_detail LEFT JOIN dtb_products_class USING(product_class_id)"; 
    98         $where  = "order_id = ?"; 
     96        $col    = 'product_class_id, quantity'; 
     97        $table  = 'dtb_order_detail LEFT JOIN dtb_products_class USING(product_class_id)'; 
     98        $where  = 'order_id = ?'; 
    9999        $objQuery->setOrder('order_detail_id'); 
    100100        $arrOrderDetail = $objQuery->select($col, $table, $where, array($order_id)); 
Note: See TracChangeset for help on using the changeset viewer.