Skip to content

Commit

Permalink
새글 삭제시 공지글이 풀리는 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Jul 8, 2019
1 parent 2199ffd commit 8462855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbs/new_delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
$lf = '';
for ($k=0; $k<count($notice_array); $k++) {
if ((int)$write['wr_id'] != (int)$notice_array[$k])
$bo_notice .= $nl.$notice_array[$k];
$bo_notice .= $lf.$notice_array[$k];

if($bo_notice)
$lf = ',';
Expand Down Expand Up @@ -117,7 +117,7 @@

// 코멘트 삭제
if (!delete_point($write['mb_id'], $bo_table, $comment_id, '코멘트')) {
insert_point($write['mb_id'], $board['bo_comment_point'] * (-1), "{$board['bo_subject']} {$write[wr_parent]}-{$comment_id} 코멘트삭제");
insert_point($write['mb_id'], $board['bo_comment_point'] * (-1), "{$board['bo_subject']} {$write['wr_parent']}-{$comment_id} 코멘트삭제");
}

// 코멘트 삭제
Expand Down

0 comments on commit 8462855

Please sign in to comment.