From 3c392f6d03036aeacebc51875db4286c5873ec33 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 12 Aug 2016 11:08:06 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=A5=EB=B0=94=EA=B5=AC=EB=8B=88=20?= =?UTF-8?q?=EC=84=A0=ED=83=9D=ED=95=84=EB=93=9C=20=EC=B4=88=EA=B8=B0?= =?UTF-8?q?=ED=99=94=20=EC=BD=94=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/cartupdate.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shop/cartupdate.php b/shop/cartupdate.php index 0ad974e54..d967f4ce2 100644 --- a/shop/cartupdate.php +++ b/shop/cartupdate.php @@ -32,6 +32,10 @@ if($act == "buy") if(!count($_POST['ct_chk'])) alert("주문하실 상품을 하나이상 선택해 주십시오."); + // 선택필드 초기화 + $sql = " update {$g5['g5_shop_cart_table']} set ct_select = '0' where od_id = '$tmp_cart_id' "; + sql_query($sql); + $fldcnt = count($_POST['it_id']); for($i=0; $i<$fldcnt; $i++) { $ct_chk = $_POST['ct_chk'][$i];