From d6f825dfac3784212933e0fb156af1610f7dd0ed Mon Sep 17 00:00:00 2001 From: Martin Schnurer Date: Sun, 13 Oct 2024 21:47:04 +0200 Subject: [PATCH] invert incorrect condition, return if empty replies array --- action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.php b/action.php index b33f240..2deacfe 100644 --- a/action.php +++ b/action.php @@ -953,7 +953,7 @@ protected function showReplyForm($cid, $reply) protected function showReplies($cid, &$data, $reply, &$isVisible) { $comment = $data['comments'][$cid]; - if (!empty($comment['replies'])) { + if (empty($comment['replies'])) { return; } ptln('
getWidthStyle() . '>', 4);