bo_notice 필드에 필요치않는 콤마 추가되는 문제 수정
This commit is contained in:
1 parent
bfb97db2a5
commit
52dbc4b6e7
1 file changed
+1
-1
@@ -361,7 +361,7 @@ if ($w == '' || $w == 'r') {
|
||||
// 쓰기 포인트 부여
|
||||
if ($w == '') {
|
||||
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}' ");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user