Merge ff437562e3
into 16354b467e
This commit is contained in:
commit
b1bf914122
|
@ -134,7 +134,7 @@ register_module([
|
||||||
"timestamp" => time(),
|
"timestamp" => time(),
|
||||||
"page" => $env->page,
|
"page" => $env->page,
|
||||||
"user" => $env->user,
|
"user" => $env->user,
|
||||||
"reply_depth" => $comment_thread !== null ? count($comment_thread) : 0,
|
"reply_depth" => isset($comment_thread) ? count($comment_thread) : 0,
|
||||||
"comment_id" => $new_comment->id
|
"comment_id" => $new_comment->id
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue