공지가 풀리는 경우 코드 오류 수정 및 메모 카운트 코드 오류 수정

This commit is contained in:
thisgun
2018-03-20 15:56:24 +09:00
parent fddd29388b
commit 52f6b39edc
2 changed files with 2 additions and 2 deletions

View File

@ -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 페이지)