게시판 관리자가 게시판 수정시 자동등록방지 숫자가 틀렸습니다 라고 나오는 오류 수정

This commit is contained in:
thisgun
2026-01-26 09:40:43 +00:00
parent 0e06b4f9ce
commit b29e16a198

View File

@ -39,6 +39,8 @@ $bo_include_tail = isset($_POST['bo_include_tail']) ? preg_replace(array("#[\\\]
$check_captcha = false;
// 관리자가 자동등록방지 CAPTCHA를 사용해야 할 경우
// 최고 관리자인 경우에만 수정가능
if ($is_admin === 'super') {
if ($w === 'u') {
if (isset($board['bo_include_head'], $board['bo_include_tail']) &&
($board['bo_include_head'] !== $bo_include_head || $board['bo_include_tail'] !== $bo_include_tail)) {
@ -49,6 +51,7 @@ if ($w === 'u') {
$check_captcha = true;
}
}
}
// 실제 CAPTCHA 검증
if ($check_captcha) {