주문시 배송주소가 무조건 기본배송지로 등록되는 오류 수정
This commit is contained in:
@ -610,7 +610,7 @@ if($is_member) {
|
||||
|
||||
if($row['ad_id']){
|
||||
$sql = " update {$g5['g5_shop_order_address_table']}
|
||||
set ad_default = '1',
|
||||
set ad_default = '$ad_default',
|
||||
ad_subject = '$ad_subject'
|
||||
where mb_id = '{$member['mb_id']}'
|
||||
and ad_id = '{$row['ad_id']}' ";
|
||||
|
||||
@ -605,7 +605,7 @@ if($is_member) {
|
||||
|
||||
if($row['ad_id']){
|
||||
$sql = " update {$g5['g5_shop_order_address_table']}
|
||||
set ad_default = '1',
|
||||
set ad_default = '$ad_default',
|
||||
ad_subject = '$ad_subject'
|
||||
where mb_id = '{$member['mb_id']}'
|
||||
and ad_id = '{$row['ad_id']}' ";
|
||||
|
||||
Reference in New Issue
Block a user