From fddd29388b2f9744c08747ec65ec9f325ef303e3 Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 19 Mar 2018 16:54:42 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EC=B7=A8=EC=95=BD=EC=A0=90=20(2018-0085,?= =?UTF-8?q?=200132)=20=EC=9D=B4=EC=A0=84=20=EC=9E=98=EB=AA=BB=EB=90=9C=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/alert_close.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); From 52f6b39edcbe279f86d2843318dd74943ab9d980 Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 20 Mar 2018 15:56:24 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EA=B3=B5=EC=A7=80=EA=B0=80=20=ED=92=80?= =?UTF-8?q?=EB=A6=AC=EB=8A=94=20=EA=B2=BD=EC=9A=B0=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95=20=EB=B0=8F=20=EB=A9=94?= =?UTF-8?q?=EB=AA=A8=20=EC=B9=B4=EC=9A=B4=ED=8A=B8=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/memo.php | 2 +- bbs/write_update.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }