From 29ed3dcddb370684217e75a812bd4780b685ec27 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 27 Nov 2013 16:25:58 +0900 Subject: [PATCH] =?UTF-8?q?=EC=99=B8=EB=B6=80=20=EB=A7=81=ED=81=AC?= =?UTF-8?q?=EB=A5=BC=20=ED=86=B5=ED=95=9C=20=EC=83=81=ED=92=88=20=EC=9E=A5?= =?UTF-8?q?=EB=B0=94=EA=B5=AC=EB=8B=88=20=EB=8B=B4=EA=B8=B0=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/itembuy.php | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/shop/itembuy.php b/shop/itembuy.php index b35df224a..6b51148e4 100644 --- a/shop/itembuy.php +++ b/shop/itembuy.php @@ -43,16 +43,11 @@ $ct_send_cost = 0; if($it['it_sc_method'] == 1) $ct_send_cost = 1; -$_POST['it_id'] = $it['it_id']; -$_POST['it_name'] = $it['it_name']; -$_POST['it_price'] = $it['it_price']; -$_POST['it_point'] = get_item_point($it); -$_POST['total_price'] = $tot_prc; -$_POST['io_id'][0] = $opt['io_id']; -$_POST['io_type'][0] = 0; -$_POST['io_price'][0] = $opt['io_price']; -$_POST['ct_qty'][0] = 1; -$_POST['io_value'][0] = $io_value; +$_POST['it_id'][0] = $it['it_id']; +$_POST['io_id'][$it['it_id']][0] = $opt['io_id']; +$_POST['io_type'][$it['it_id']][0] = 0; +$_POST['ct_qty'][$it['it_id']][0] = 1; +$_POST['io_value'][$it['it_id']][0] = $io_value; $_POST['ct_send_cost'] = $ct_send_cost; include_once(G5_SHOP_PATH.'/cartupdate.php');