mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
트리거 변수가 잘못 전달되는 문제 고치고 document_srl 을 추가함.
This commit is contained in:
parent
b122f35e62
commit
7d15f6adb9
1 changed files with 2 additions and 1 deletions
|
|
@ -1789,7 +1789,8 @@ class CommentController extends Comment
|
|||
|
||||
// Call a trigger (before)
|
||||
$trigger_obj = new stdClass();
|
||||
$trigger_obj->document_srl = $comment_srl;
|
||||
$trigger_obj->comment_srl = $comment_srl;
|
||||
$trigger_obj->document_srl = $oComment->get('document_srl');
|
||||
$trigger_obj->declared_count = $declared_count;
|
||||
$trigger_output = ModuleHandler::triggerCall('comment.declaredCommentCancel', 'before', $trigger_obj);
|
||||
if (!$trigger_output->toBool())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue