공지글이 없을때 나오는 오류 Trying to access array offset on value of type null 수정
This commit is contained in:
@ -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'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user