공지글이 없을때 나오는 오류 Trying to access array offset on value of type null 수정

This commit is contained in:
projectSylas
2021-12-29 11:37:29 +09:00
parent 7d22399eac
commit 52f7eef288

View File

@ -96,7 +96,7 @@ if (!$is_search_bbs) {
$row = sql_fetch(" select * from {$write_table} where wr_id = '{$arr_notice[$k]}' ");
if (!$row['wr_id']) continue;
if (!isset($row['wr_id']) || !$row['wr_id']) continue;
$notice_array[] = $row['wr_id'];