Ignore:
Timestamp:
2009/06/10 13:52:51 (13 years ago)
Author:
Seasoft
Message:

・無駄な処理の削除
・ソース整形

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/helper/SC_Helper_DB.php

    r18093 r18095  
    557557        $objQuery = new SC_Query(); 
    558558        if (USE_POINT !== false) { 
    559                 $arrRet = $objQuery->select("point", "dtb_customer", "customer_id = ?", array($customer_id)); 
    560                 $point = $arrRet[0]['point']; 
    561                 $total_point = $arrRet[0]['point'] - $use_point + $add_point; 
     559            $arrRet = $objQuery->select("point", "dtb_customer", "customer_id = ?", array($customer_id)); 
     560            $point = $arrRet[0]['point']; 
     561            $total_point = $arrRet[0]['point'] - $use_point + $add_point; 
    562562        } else { 
    563563            $total_point = 0; 
Note: See TracChangeset for help on using the changeset viewer.