Changeset 21563 for branches/version-2_12-dev/data/class/pages/mypage
- Timestamp:
- 2012/02/28 22:35:14 (12 years ago)
- 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 126 126 $from = 'dtb_order'; 127 127 $where = 'del_flg = 0 AND customer_id = ?'; 128 $arr val= array($customer_id);128 $arrWhereVal = array($customer_id); 129 129 $order = 'order_id DESC'; 130 130 131 131 if ($startno == -1) { 132 return $objQuery->count($from, $where, $arr val);132 return $objQuery->count($from, $where, $arrWhereVal); 133 133 } 134 134 … … 138 138 139 139 //購入履歴の取得 140 return $objQuery->select($col, $from, $where, $arr val);140 return $objQuery->select($col, $from, $where, $arrWhereVal); 141 141 } 142 142 } -
branches/version-2_12-dev/data/class/pages/mypage/LC_Page_Mypage_MailView.php
r21526 r21563 114 114 $col = 'subject, mail_body'; 115 115 $where = 'send_id = ? AND customer_id = ?'; 116 $arr val= array($send_id, $customer_id);117 return $objQuery->select($col, 'dtb_mail_history LEFT JOIN dtb_order USING(order_id)', $where, $arr val);116 $arrWhereVal = array($send_id, $customer_id); 117 return $objQuery->select($col, 'dtb_mail_history LEFT JOIN dtb_order USING(order_id)', $where, $arrWhereVal); 118 118 } 119 119 }
Note: See TracChangeset
for help on using the changeset viewer.