게시글 삭제시 포인트 처리 코드 추가
This commit is contained in:
@ -168,7 +168,7 @@ function point_clear()
|
||||
<td class="td_time"><?php echo $row['po_datetime'] ?></td>
|
||||
<td class="td_pt_log"><?php echo $link1 ?><?php echo $row['po_content'] ?><?php echo $link2 ?></td>
|
||||
<td class="td_num td_pt"><?php echo number_format($row['po_point']) ?></td>
|
||||
<td><?php echo $row['po_expired'] ? '예' : '아니오'; ?></td>
|
||||
<td><?php echo $row['po_expired'] == 1 ? '예' : '아니오'; ?></td>
|
||||
<td class="td_bignum td_pt"><?php echo number_format($row2['mb_point']) ?></td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user