From 86d8df337f7fa5cc4218fdbe556eac4fd63f6d62 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 11 Jun 2013 09:43:25 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=A5=EB=B0=94=EA=B5=AC=EB=8B=88=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=EC=8B=9C=20=ED=8F=AC=EC=9D=B8=ED=8A=B8=20?= =?UTF-8?q?=EA=B3=84=EC=82=B0=20get=5Fitem=5Fpoint=20=ED=95=A8=EC=88=98?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/cartupdate.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/shop/cartupdate.php b/shop/cartupdate.php index 7046df87b..e8ff31846 100644 --- a/shop/cartupdate.php +++ b/shop/cartupdate.php @@ -271,11 +271,7 @@ else // 장바구니에 담기 if ((int)$_POST['total_price'] !== (int)$total_price) die("Error.."); - if($it['it_point_type']) { - $point = floor(($it['it_price'] * ($it['it_point'] / 100) / 10)) * 10; - } else { - $point = $it['it_point']; - } + $point = get_item_point($it); // 포인트가 다름 if ((int)$point !== (int)$_POST['it_point'] && $config['cf_use_point']) die("Error...");