bo_notice 필드에 필요치않는 콤마 추가되는 문제 수정
This commit is contained in:
@ -361,7 +361,7 @@ if ($w == '' || $w == 'r') {
|
|||||||
// 쓰기 포인트 부여
|
// 쓰기 포인트 부여
|
||||||
if ($w == '') {
|
if ($w == '') {
|
||||||
if ($notice) {
|
if ($notice) {
|
||||||
$bo_notice = $wr_id.",".$board['bo_notice'];
|
$bo_notice = $wr_id.($board['bo_notice'] ? ",".$board['bo_notice'] : '');
|
||||||
sql_query(" update {$g5['board_table']} set bo_notice = '{$bo_notice}' where bo_table = '{$bo_table}' ");
|
sql_query(" update {$g5['board_table']} set bo_notice = '{$bo_notice}' where bo_table = '{$bo_table}' ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user