새글 삭제시 공지글이 풀리는 오류 수정
This commit is contained in:
@ -87,7 +87,7 @@ for($i=0;$i<count($_POST['chk_bn_id']);$i++)
|
|||||||
$lf = '';
|
$lf = '';
|
||||||
for ($k=0; $k<count($notice_array); $k++) {
|
for ($k=0; $k<count($notice_array); $k++) {
|
||||||
if ((int)$write['wr_id'] != (int)$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)
|
if($bo_notice)
|
||||||
$lf = ',';
|
$lf = ',';
|
||||||
@ -117,7 +117,7 @@ for($i=0;$i<count($_POST['chk_bn_id']);$i++)
|
|||||||
|
|
||||||
// 코멘트 삭제
|
// 코멘트 삭제
|
||||||
if (!delete_point($write['mb_id'], $bo_table, $comment_id, '코멘트')) {
|
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} 코멘트삭제");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 코멘트 삭제
|
// 코멘트 삭제
|
||||||
|
|||||||
Reference in New Issue
Block a user