From cc2178cb1ebce0dfc2dcca6f655525709a405272 Mon Sep 17 00:00:00 2001 From: Arcturus Date: Tue, 1 Oct 2024 01:06:07 +0900 Subject: [PATCH] add argument bo_table --- AvocadoEdition_Light/bbs/write_update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AvocadoEdition_Light/bbs/write_update.php b/AvocadoEdition_Light/bbs/write_update.php index 56bc458..8ebe003 100644 --- a/AvocadoEdition_Light/bbs/write_update.php +++ b/AvocadoEdition_Light/bbs/write_update.php @@ -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, '쓰기'); } - 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') { 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); @@ -469,7 +469,7 @@ if ($w == '' || $w == 'r') { $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}' "); - 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); } // 게시판그룹접근사용을 하지 않아야 하고 비회원 글읽기가 가능해야 하며 비밀글이 아니어야 합니다.