그누보드4 import 코드 수정

This commit is contained in:
thisgun
2017-12-04 14:26:12 +09:00
parent 9f89455b3c
commit fd1ec11ad1

View File

@ -382,6 +382,14 @@ document.onkeydown = noRefresh ;
foreach($row as $key=>$val) {
if(!in_array($key, $columns))
continue;
if($key === 'bo_notice'){
$val = str_replace("\n", ",", $val);
if( substr($val, -1) === ',' ){
$val = substr($val, 0, -1);
}
}
$sql_common .= $comma . " $key = '".addslashes($val)."' ";