add argument bo_table

This commit is contained in:
Amberstone 2024-10-01 01:06:07 +09:00
parent c7b138f631
commit cc2178cb1e
Signed by: amber
GPG key ID: 094B0E55F98D8BF1

View file

@ -321,7 +321,7 @@ if ($w == '' || $w == 'r') {
insert_point($member['mb_id'], $board['bo_comment_point'], "{$board['bo_subject']} {$wr_id} 글답변", $bo_table, $wr_id, '쓰기'); insert_point($member['mb_id'], $board['bo_comment_point'], "{$board['bo_subject']} {$wr_id} 글답변", $bo_table, $wr_id, '쓰기');
} }
EventHandler::triggerEvent("gnuboard.bbs.write_update_document_create", $board, $wr_id, $w, $qstr, $redirect_url); EventHandler::triggerEvent("gnuboard.bbs.write_update_document_create", $bo_table, $board, $wr_id, $w, $qstr, $redirect_url);
} else if ($w == 'u') { } else if ($w == 'u') {
if (get_session('ss_bo_table') != $_POST['bo_table'] || get_session('ss_wr_id') != $_POST['wr_id']) { if (get_session('ss_bo_table') != $_POST['bo_table'] || get_session('ss_wr_id') != $_POST['wr_id']) {
//alert('올바른 방법으로 수정하여 주십시오.', G5_BBS_URL.'/board.php?bo_table='.$bo_table); //alert('올바른 방법으로 수정하여 주십시오.', G5_BBS_URL.'/board.php?bo_table='.$bo_table);
@ -469,7 +469,7 @@ if ($w == '' || $w == 'r') {
$bo_notice = board_notice($board['bo_notice'], $wr_id, $notice); $bo_notice = board_notice($board['bo_notice'], $wr_id, $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}' ");
EventHandler::triggerEvent("gnuboard.bbs.write_update_document_update", $board, $wr_id, $w, $qstr, $redirect_url); EventHandler::triggerEvent("gnuboard.bbs.write_update_document_update", $bo_table, $board, $wr_id, $w, $qstr, $redirect_url);
} }
// 게시판그룹접근사용을 하지 않아야 하고 비회원 글읽기가 가능해야 하며 비밀글이 아니어야 합니다. // 게시판그룹접근사용을 하지 않아야 하고 비회원 글읽기가 가능해야 하며 비밀글이 아니어야 합니다.