Ignore:
Timestamp:
2011/07/06 17:38:38 (13 years ago)
Author:
eccuore
Message:

fixes 1369 会員テーブルの更新時に利用する配列は引き継ぐ必要が無いので、別変数を生成

File:
1 edited

Legend:

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

    r21016 r21019  
    11191119            if ($addCustomerPoint != 0) { 
    11201120                // ▼会員テーブルの更新 
    1121                 $sqlval = array(); 
     1121                $customer_sqlval = array(); 
    11221122                $where = ''; 
    11231123                $arrVal = array(); 
     
    11251125                $arrRawSqlVal = array(); 
    11261126 
    1127                 $sqlval['update_date'] = 'Now()'; 
     1127                $customer_sqlval['update_date'] = 'Now()'; 
    11281128                $arrRawSql['point'] = 'point + ?'; 
    11291129                $arrRawSqlVal[] = $addCustomerPoint; 
    11301130                $where .= 'customer_id = ?'; 
    11311131                $arrVal[] = $arrOrderOld['customer_id']; 
    1132  
    1133                 $objQuery->update('dtb_customer', $sqlval, $where, $arrVal, $arrRawSql, $arrRawSqlVal); 
     1132                $objQuery->update('dtb_customer', $customer_sqlval, $where, $arrVal, $arrRawSql, $arrRawSqlVal); 
    11341133                // ▲会員テーブルの更新 
    11351134 
Note: See TracChangeset for help on using the changeset viewer.