From c5a220c45e048b87b98c8da5fe5684f5074f967d Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 16 May 2013 13:05:03 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AC=B4=ED=86=B5=EC=9E=A5=EC=9D=B4=20?= =?UTF-8?q?=EC=95=84=EB=8B=90=20=EB=95=8C=20=EA=B2=B0=EC=A0=9C=EB=93=B1?= =?UTF-8?q?=EB=A1=9D=20=EC=B2=B4=ED=81=AC=20=EC=8B=A4=ED=96=89=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/orderformupdate.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mobile/shop/orderformupdate.php b/mobile/shop/orderformupdate.php index 62fbfe5d9..1cb71241d 100644 --- a/mobile/shop/orderformupdate.php +++ b/mobile/shop/orderformupdate.php @@ -10,8 +10,10 @@ $_GET = array_map("mysql_real_escape_string", $_GET); $_POST = array_map("mysql_real_escape_string", $_POST); // 결제등록 완료 체크 -if($_POST['tran_cd'] == '' || $_POST['enc_info'] == '' || $_POST['enc_data'] == '') - alert('결제등록 요청 후 주문해 주십시오.'); +if($od_settle_case != '무통장') { + if($_POST['tran_cd'] == '' || $_POST['enc_info'] == '' || $_POST['enc_data'] == '') + alert('결제등록 요청 후 주문해 주십시오.'); +} // 장바구니가 비어있는가? if (get_session("ss_direct")) @@ -243,6 +245,7 @@ $sql = " insert {$g4['shop_order_table']} od_shop_memo = '', od_hope_date = '$od_hope_date', od_time = '".G4_TIME_YMDHIS."', + od_mobile = '1', od_ip = '$REMOTE_ADDR', od_settle_case = '$od_settle_case' ";