그누보드 5.0.9 패치 적용

This commit is contained in:
chicpro
2014-07-28 11:41:12 +09:00
parent 2579323ddf
commit e84a1c8c98
13 changed files with 30 additions and 22 deletions

View File

@ -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}' ");
}