#176 추가옵션 목록 생성시 post 값 체크코드의 오류 수정
This commit is contained in:
@ -12,7 +12,7 @@ if($it['it_id']) {
|
||||
$subject_count = count($_POST['subject']);
|
||||
$supply_count = count($_POST['supply']);
|
||||
|
||||
if(!$subject_count || $supply_count) {
|
||||
if(!$subject_count || !$supply_count) {
|
||||
echo '추가옵션명과 추가옵션항목을 입력해 주십시오.';
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user