Ignore:
Timestamp:
2012/06/20 11:57:43 (10 years ago)
Author:
pineray
Message:

#1669 #1859 初期化漏れ、無駄な変数等

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/helper/SC_Helper_Purchase.php

    r21867 r21927  
    122122        } 
    123123 
     124        $arrParams = array(); 
    124125        $arrParams['status'] = $orderStatus; 
    125126        if ($is_delete) { 
     
    271272        // 存在するカラムのみを対象とする 
    272273        $cols = $objQuery->listTableFields('dtb_order_temp'); 
     274        $sqlval = array(); 
    273275        foreach ($params as $key => $val) { 
    274276            if (in_array($key, $cols)) { 
     
    542544        $objQuery->setOrder('rank DESC'); 
    543545        $payments = $objQuery->select('payment_id, payment_method, rule_max, upper_rule, note, payment_image, charge', 'dtb_payment', $where, $arrPaymentIds); 
     546        $arrPayment = array(); 
    544547        foreach ($payments as $data) { 
    545548            // 下限と上限が設定されている 
     
    842845        $objProduct = new SC_Product_Ex(); 
    843846        $i = 0; 
     847        $arrDetail = array(); 
    844848        foreach ($cartItems as $item) { 
    845849            $p =& $item['productsClass']; 
     
    10681072 
    10691073        if ($has_items) { 
    1070             $objProduct = new SC_Product_Ex(); 
    10711074            foreach (array_keys($arrResults) as $shipping_id) { 
    10721075                $arrResults[$shipping_id]['shipment_item'] 
     
    11361139     * @return void 
    11371140     */ 
    1138     function sfUpdateOrderStatus($orderId, $newStatus = null, $newAddPoint = null, $newUsePoint = null, &$sqlval) { 
     1141    function sfUpdateOrderStatus($orderId, $newStatus = null, $newAddPoint = null, $newUsePoint = null, &$sqlval = array()) { 
    11391142        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    11401143        $arrOrderOld = $objQuery->getRow('status, add_point, use_point, customer_id', 'dtb_order', 'order_id = ?', array($orderId)); 
     
    13311334     * 加える機会を与える. 
    13321335     * 
     1336     * $orderId が使われていない。 
     1337     *  
    13331338     * @param integer $orderId 注文番号 
    13341339     * @param SC_CartSession $objCartSession カート情報のインスタンス 
Note: See TracChangeset for help on using the changeset viewer.