From 310a1d285fadfa75da18b8292321397005c7255c Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 6 Nov 2013 15:24:14 +0900 Subject: [PATCH] =?UTF-8?q?save=5Forder=5Fpoint=20=ED=95=A8=EC=88=98?= =?UTF-8?q?=EC=97=90=20g5=20=EA=B8=80=EB=A1=9C=EB=B2=8C=20=EB=B3=80?= =?UTF-8?q?=EC=88=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/shop.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shop.lib.php b/lib/shop.lib.php index 5ba4213ca..5a1e73d23 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -1779,7 +1779,7 @@ function is_used_coupon($mb_id, $cp_id) //------------------------------------------------------------------------------ function save_order_point($ct_status="완료") { - global $default; + global $g5, $default; $beforedays = date("Y-m-d H:i:s", ( time() - (86400 * (int)$default['de_point_days']) ) ); // 86400초는 하루 $sql = " select * from {$g5['g5_shop_cart_table']} where ct_status = '$ct_status' and ct_point_use = '0' and ct_time <= '$beforedays' ";