php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용

This commit is contained in:
thisgun committed 2021-01-04 15:33:29 +09:00
1 parent 10d377de7d
commit 582d1a01f4
852 files changed
+120617 -6307

No files matched your search

+2 -3
View File
@@ -15,7 +15,7 @@ $tmp_array = array();
if ($qa_id) // 건별삭제
$tmp_array[0] = $qa_id;
else // 일괄삭제
$tmp_array = $_POST['chk_qa_id'];
$tmp_array = (isset($_POST['chk_qa_id']) && is_array($_POST['chk_qa_id'])) ? $_POST['chk_qa_id'] : array();
$count = count($tmp_array);
if(!$count)
@@ -79,5 +79,4 @@ for($i=0; $i<$count; $i++) {
sql_query(" delete from {$g5['qa_content_table']} where qa_id = '$qa_id' ");
}
goto_url(G5_BBS_URL.'/qalist.php'.preg_replace('/^&amp;/', '?', $qstr));
?>
goto_url(G5_BBS_URL.'/qalist.php'.preg_replace('/^&amp;/', '?', $qstr));