Changeset 20639


Ignore:
Timestamp:
2011/03/14 20:28:04 (10 years ago)
Author:
tao
Message:

会員の合計保有ポイントが常に0なのを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eccube-donation/html/frontparts/bloc/index.php

    r20622 r20639  
    4141 
    4242// ポイント合計 
    43 $arrPoints = $objQuery->getAll('SELECT SUM(point) FROM dtb_customer WHERE del_flg = 0'); 
     43$arrPoints = $objQuery->getAll('SELECT SUM(point) as totall_point FROM dtb_customer WHERE del_flg = 0'); 
    4444$total_point = 0; 
    45 if (!is_null($arrPoints[0])) { 
    46     $total_point = $total_point[0]; 
     45if (!is_null($arrPoints[0]["totall_point"])) { 
     46    $total_point = $arrPoints[0]["totall_point"]; 
    4747 
    4848} 
Note: See TracChangeset for help on using the changeset viewer.