Ignore:
Timestamp:
2012/02/28 22:35:14 (12 years ago)
Author:
Seasoft
Message:

#1669 (変数の初期化漏れ)
#1613 (typo修正・ソース整形・ソースコメントの改善)

Location:
branches/version-2_12-dev/data/class/pages/mypage
Files:
2 edited

Legend:

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

    r21527 r21563  
    126126        $from       = 'dtb_order'; 
    127127        $where      = 'del_flg = 0 AND customer_id = ?'; 
    128         $arrval    = array($customer_id); 
     128        $arrWhereVal = array($customer_id); 
    129129        $order      = 'order_id DESC'; 
    130130 
    131131        if ($startno == -1) { 
    132             return $objQuery->count($from, $where, $arrval); 
     132            return $objQuery->count($from, $where, $arrWhereVal); 
    133133        } 
    134134 
     
    138138 
    139139        //購入履歴の取得 
    140         return $objQuery->select($col, $from, $where, $arrval); 
     140        return $objQuery->select($col, $from, $where, $arrWhereVal); 
    141141    } 
    142142} 
  • branches/version-2_12-dev/data/class/pages/mypage/LC_Page_Mypage_MailView.php

    r21526 r21563  
    114114        $col        = 'subject, mail_body'; 
    115115        $where      = 'send_id = ? AND customer_id = ?'; 
    116         $arrval    = array($send_id, $customer_id); 
    117         return $objQuery->select($col, 'dtb_mail_history LEFT JOIN dtb_order USING(order_id)', $where, $arrval); 
     116        $arrWhereVal = array($send_id, $customer_id); 
     117        return $objQuery->select($col, 'dtb_mail_history LEFT JOIN dtb_order USING(order_id)', $where, $arrWhereVal); 
    118118    } 
    119119} 
Note: See TracChangeset for help on using the changeset viewer.