diff --git a/bbs/delete.php b/bbs/delete.php index 5256025c0..2a30b2306 100644 --- a/bbs/delete.php +++ b/bbs/delete.php @@ -132,5 +132,7 @@ if ($count_write > 0 || $count_comment > 0) @include_once($board_skin_path.'/delete.tail.skin.php'); +delete_cache_latest($bo_table); + goto_url('./board.php?bo_table='.$bo_table.'&page='.$page.$qstr); ?> diff --git a/bbs/move_update.php b/bbs/move_update.php index 59c13fe4c..ac844ec94 100644 --- a/bbs/move_update.php +++ b/bbs/move_update.php @@ -9,7 +9,7 @@ if ($sw != 'move' && $sw != 'copy') alert('sw 값이 제대로 넘어오지 않았습니다.'); if(!count($_POST['chk_bo_table'])) - alert("게시물을 ".$act."할 게시판을 한개 이상 선택해 주십시오.", $url); + alert('게시물을 '.$act.'할 게시판을 한개 이상 선택해 주십시오.', $url); // 원본 파일 디렉토리 $src_dir = G4_DATA_PATH.'/file/'.$bo_table; @@ -43,7 +43,7 @@ while ($row = sql_fetch_array($result)) { $nick = cut_str($member['mb_nick'], $config['cf_cut_name']); if (!$row2['wr_is_comment'] && $config['cf_use_copy_log']) - $row2['wr_content'] .= PHP_EOL.'[이 게시물은 '.$nick.'님에 의해 '.G4_TIME_YMDHIS.' '.$board['bo_subject'].'에서 '.($sw == 'copy' ? '복사' : '이동').' 됨]'; + $row2['wr_content'] .= PHP_EOL.'
[이 게시물은 '.$nick.'님에 의해 '.G4_TIME_YMDHIS.' '.$board['bo_subject'].'에서 '.($sw == 'copy' ? '복사' : '이동').' 됨]
'; $sql = " insert into $move_write_table set wr_num = '$next_wr_num', @@ -161,7 +161,7 @@ while ($row = sql_fetch_array($result)) delete_cache_latest($bo_table); -if ($sw == "move") +if ($sw == 'move') { for ($i=0; $i - + - +