From ab61574956f43f5f185d4679a3238e3d5e1dd353 Mon Sep 17 00:00:00 2001 From: w33b Date: Sat, 10 Jan 2026 21:59:53 +0100 Subject: [PATCH] Fix comment depth chain check --- app/Livewire/Comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Livewire/Comment.php b/app/Livewire/Comment.php index 66b68e0..d06c7b7 100644 --- a/app/Livewire/Comment.php +++ b/app/Livewire/Comment.php @@ -74,7 +74,7 @@ class Comment extends Component public function postReply() { - if (! $this->comment->depth() < 2) { + if (!($this->comment->depth() < 2)) { return; }