Merge branch 'master' of github.com:gnuboard/g5
This commit is contained in:
@ -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", "<br>", $msg);
|
||||
|
||||
|
||||
@ -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 페이지)
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user