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

This commit is contained in:
chicpro
2014-04-07 11:06:23 +09:00
parent 55f02a9462
commit bd5230b5c2

View File

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