php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용
This commit is contained in:
@ -14,7 +14,7 @@ $tmp_array = array();
|
||||
if ($wr_id) // 건별삭제
|
||||
$tmp_array[0] = $wr_id;
|
||||
else // 일괄삭제
|
||||
$tmp_array = $_POST['chk_wr_id'];
|
||||
$tmp_array = (isset($_POST['chk_wr_id']) && is_array($_POST['chk_wr_id'])) ? $_POST['chk_wr_id'] : array();
|
||||
|
||||
$chk_count = count($tmp_array);
|
||||
|
||||
@ -161,5 +161,4 @@ delete_cache_latest($bo_table);
|
||||
|
||||
run_event('bbs_delete_all', $tmp_array, $board);
|
||||
|
||||
goto_url(short_url_clean(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&page='.$page.$qstr));
|
||||
?>
|
||||
goto_url(short_url_clean(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&page='.$page.$qstr));
|
||||
Reference in New Issue
Block a user