Changeset 20639 for branches/eccube-donation/html/frontparts/bloc
- Timestamp:
- 2011/03/14 20:28:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eccube-donation/html/frontparts/bloc/index.php
r20622 r20639 41 41 42 42 // ポイント合計 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'); 44 44 $total_point = 0; 45 if (!is_null($arrPoints[0] )) {46 $total_point = $ total_point[0];45 if (!is_null($arrPoints[0]["totall_point"])) { 46 $total_point = $arrPoints[0]["totall_point"]; 47 47 48 48 }
Note: See TracChangeset
for help on using the changeset viewer.