diff --git a/bbs/alert_close.php b/bbs/alert_close.php index 10a9acd37..67b072f48 100644 --- a/bbs/alert_close.php +++ b/bbs/alert_close.php @@ -2,7 +2,7 @@ include_once('./_common.php'); include_once(G5_PATH.'/head.sub.php'); -//$msg = isset($msg) ? strip_tags($msg) : ''; +$msg = isset($msg) ? strip_tags($msg) : ''; $msg2 = str_replace("\\n", "
", $msg); diff --git a/bbs/memo.php b/bbs/memo.php index 5d0de7892..72ba5b33e 100644 --- a/bbs/memo.php +++ b/bbs/memo.php @@ -20,7 +20,7 @@ else $sql = " select count(*) as cnt from {$g5['memo_table']} where me_{$kind}_mb_id = '{$member['mb_id']}' "; $row = sql_fetch($sql); -$total_count = number_format($row['cnt']); +$total_count = $row['cnt']; $total_page = ceil($total_count / $config['cf_page_rows']); // 전체 페이지 계산 if ($page < 1) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지) diff --git a/bbs/write_update.php b/bbs/write_update.php index 8788ff705..d328e491b 100644 --- a/bbs/write_update.php +++ b/bbs/write_update.php @@ -135,7 +135,7 @@ if ($w == '' || $w == 'u') { } //회원 자신이 쓴글을 수정할 경우 공지가 풀리는 경우가 있음 - if($w =='u' && $board['bo_notice'] && in_array($wr['wr_id'], $notice_array)){ + if($w =='u' && !$is_admin && $board['bo_notice'] && in_array($wr['wr_id'], $notice_array)){ $notice = 1; }