따옴표로 인한 상품 복사 오류 수정

This commit is contained in:
chicpro
2014-04-07 12:36:03 +09:00
parent b6950cc92e
commit 1fbaf4b55d

View File

@ -95,7 +95,7 @@ if($cp['it_mobile_explan']) {
}
}
$sql = " update {$g5['g5_shop_item_table']} set it_mobile_explan = '{$cp['it_mobile_explan']}' where it_id = '$new_it_id' ";
$sql = " update {$g5['g5_shop_item_table']} set it_mobile_explan = '".addslashes($cp['it_mobile_explan'])."' where it_id = '$new_it_id' ";
sql_query($sql);
}