쿠폰존 폼 초기화 배열의 중복 항목 정리

cp_price 가 두 번 선언되어 있어 하나를 제거하고, 폼 본문에서 참조하는
cz_id 를 초기화 대상에 추가한다.

cz_id 참조 지점은 현재 앞쪽 조건의 단축 평가로 도달하지 않으나,
조건이 바뀔 경우를 대비해 초기화 목록을 참조 항목과 일치시킨다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
(cherry picked from commit c03b311e789642f0af3fe898e040afea28733e7c)
This commit is contained in:
thisgun
2026-08-24 07:44:22 +00:00
parent f6ec58ca18
commit f4d184979f
+1 -1
View File
@@ -4,6 +4,7 @@ include_once('./_common.php');
$cz_id = isset($_REQUEST['cz_id']) ? (int) $_REQUEST['cz_id'] : 0;
$cp = array(
'cz_id'=>'',
'cp_method'=>'',
'cz_subject'=>'',
'cp_target'=>'',
@@ -13,7 +14,6 @@ $cp = array(
'mb_id'=>'',
'cz_type'=>'',
'cz_point'=>'',
'cp_price'=>'',
'cz_file'=>'',
'cp_minimum'=>'',
'cp_maximum'=>'',