PHP8 버전에서 경고 표시가 뜨는 코드 추가 수정

This commit is contained in:
thisgun committed 2021-01-09 17:19:31 +09:00
1 parent d80b1d3506
commit a2cf2747bb
7 files changed
+26 -13

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ auth_check_menu($auth, $sub_menu, 'd');
check_admin_token();
$count = (isset($_POST['chk']) && is_array($_POST['chk'])) ? count($_POST['chk']) ? 0;
$count = (isset($_POST['chk']) && is_array($_POST['chk'])) ? count($_POST['chk']) : 0;
if(!$count)
alert('선택삭제 하실 항목을 하나이상 선택해 주세요.');