게시글 삭제시 포인트 처리 코드 추가

This commit is contained in:
chicpro
2013-07-24 10:34:34 +09:00
parent d85556451d
commit 7dac113f38
3 changed files with 21 additions and 7 deletions

View File

@ -33,7 +33,7 @@ for ($i=0; $i<$count; $i++)
delete_use_point($mb_id, $po_point);
}
} else {
if($row['po_expired'] == 0 && $row['po_use_point'] > 0) {
if($row['po_expired'] != 1 && $row['po_use_point'] > 0) {
insert_use_point($row['mb_id'], $row['po_use_point'], $row['po_id']);
}
}