포인트 내역 쿼리에서 정렬 필드 변경

This commit is contained in:
chicpro
2013-07-23 09:26:18 +09:00
parent 18da974e7f
commit 759e90e0d4

View File

@ -889,7 +889,7 @@ function insert_point($mb_id, $point, $content='', $rel_table='', $rel_id='', $r
where mb_id = '$mb_id'
and po_expired = '0'
and po_point > po_use_point
order by po_datetime asc ";
order by po_id asc ";
$result = sql_query($sql);
for($i=0; $row=sql_fetch_array($result); $i++) {
$point2 = $row['po_point'];