1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-16 02:23:01 +00:00
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

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
]);
}