Merge branch 'master' of github.com:gnuboard/yc5
This commit is contained in:
@ -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' ";
|
||||
|
||||
Reference in New Issue
Block a user