From 1fdffa2d2c9cd3a426f91b5b5b781ea967d5c5eb Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 4 Jun 2013 15:50:57 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EB=B0=94=EB=A1=9C=EA=B5=AC=EB=A7=A4=20uq?= =?UTF-8?q?=5Fid=20=EC=84=A4=EC=A0=95=20=EB=B9=A0=EC=A7=84=20=EA=B2=83=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/cartupdate.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shop/cartupdate.php b/shop/cartupdate.php index e54e18c12..b0538dec1 100644 --- a/shop/cartupdate.php +++ b/shop/cartupdate.php @@ -3,7 +3,11 @@ include_once('./_common.php'); // uq_id 설정 set_unique_id($sw_direct); -$tmp_uq_id = get_session('ss_uq_id'); + +if($sw_direct) + $tmp_uq_id = get_session('ss_uq_direct'); +else + $tmp_uq_id = get_session('ss_uq_id'); // 브라우저에서 쿠키를 허용하지 않은 경우라고 볼 수 있음. if (!$tmp_uq_id) From dc4d09496ae68714c7302a7c901be957e49b0b9d Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 4 Jun 2013 15:55:05 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EB=B0=94=EB=A1=9C=EA=B5=AC=EB=A7=A4=20?= =?UTF-8?q?=EC=83=81=ED=92=88=EA=B9=8C=EC=A7=80=20uq=5Fid=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=ED=95=98=EB=8A=94=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/cart.php | 1 + 1 file changed, 1 insertion(+) diff --git a/shop/cart.php b/shop/cart.php index ff87d8853..5f5408684 100644 --- a/shop/cart.php +++ b/shop/cart.php @@ -17,6 +17,7 @@ if($is_member) { set uq_id = '$tmp_uq_id' where mb_id = '{$member['mb_id']}' and ct_status = '쇼핑' + and ct_direct = '0' and ct_time > '$ctime' "; sql_query($sql); }