This commit is contained in:
Ben Spiegel 2024-02-17 22:57:39 -07:00 committed by GitHub
commit b1bf914122
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ register_module([
"timestamp" => time(),
"page" => $env->page,
"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
]);
}