Skip to content
Permalink
Browse files

배송지 이름 필터링 코드 추가

  • Loading branch information...
chicpro
chicpro committed Jan 7, 2016
1 parent 357cfa2 commit a2b6d434149a4fd525d8344620ff47c5b4b4fe19
Showing with 7 additions and 1 deletion.
  1. +2 −0 mobile/shop/orderformupdate.php
  2. +3 −1 shop/orderaddressupdate.php
  3. +2 −0 shop/orderformupdate.php
@@ -862,6 +862,8 @@
sql_query($sql);
}
$ad_subject = clean_xss_tags($ad_subject);
if($row['ad_id']){
$sql = " update {$g5['g5_shop_order_address_table']}
set ad_default = '$ad_default',
@@ -16,8 +16,10 @@
// 실제 번호를 넘김
$k = $_POST['chk'][$i];
$ad_subject = clean_xss_tags($_POST['ad_subject'][$k]);
$sql = " update {$g5['g5_shop_order_address_table']}
set ad_subject = '{$_POST['ad_subject'][$k]}' ";
set ad_subject = '$ad_subject' ";
if($_POST['ad_default'] && $_POST['ad_id'][$k] == $_POST['ad_default']) {
sql_query(" update {$g5['g5_shop_order_address_table']} set ad_default = '0' where mb_id = '{$member['mb_id']}' ");
@@ -843,6 +843,8 @@
sql_query($sql);
}
$ad_subject = clean_xss_tags($ad_subject);
if($row['ad_id']){
$sql = " update {$g5['g5_shop_order_address_table']}
set ad_default = '$ad_default',

0 comments on commit a2b6d43

Please sign in to comment.
You can’t perform that action at this time.