주문시 배송주소가 무조건 기본배송지로 등록되는 오류 수정

This commit is contained in:
chicpro
2013-11-21 10:16:25 +09:00
parent 2e4b9127b9
commit c0a318432f
2 changed files with 2 additions and 2 deletions

View File

@ -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']}' ";

View File

@ -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']}' ";