새글 페이지와 썸네일 파일의 잘못된 코드 수정

This commit is contained in:
thisgun
2021-03-15 10:34:22 +09:00
parent 5a308040f1
commit d0b2d6811e
4 changed files with 18 additions and 10 deletions

View File

@ -11,7 +11,7 @@ if( ! $call ){
if( ! $is_admin ){
$sql = " select count(*) as cnt from {$g5['auth_table']} where mb_id = '{$member['mb_id']}' ";
$row = sql_fetch($sql);
if ( ! $row['cnt']) {
if (! (isset($row['cnt']) && $row['cnt'])) {
return;
}
}