From b6da3e99b982a43f2f1ddb55f4a7088a7b52ed51 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 27 Aug 2013 17:01:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=81=ED=92=88=ED=95=A0=EC=9D=B8=20?= =?UTF-8?q?=EA=B8=88=EC=95=A1=20=EB=85=B8=EC=B6=9C=EB=90=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/orderitemcoupon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop/orderitemcoupon.php b/shop/orderitemcoupon.php index 595a93166..0635b3e8d 100644 --- a/shop/orderitemcoupon.php +++ b/shop/orderitemcoupon.php @@ -18,7 +18,7 @@ else $sql = " select SUM( IF(io_type = '1', io_price * ct_qty, (ct_price + io_price) * ct_qty)) as sum_price from {$g4['shop_cart_table']} - where od_id = '$od_id' + where od_id = '$cart_id' and it_id = '$it_id' "; $ct = sql_fetch($sql); $item_price = $ct['sum_price'];