From d588ef32e0f0e9871ade7488e2ce7dfbd4133292 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 22 Jan 2018 07:14:34 +0000 Subject: [PATCH] Bugfix: Commenting on public posts (that you don't follow) was not possible anymore --- mod/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/item.php b/mod/item.php index 57150c97df..d87ed491c7 100644 --- a/mod/item.php +++ b/mod/item.php @@ -174,7 +174,7 @@ function item_post(App $a) { } $user = dba::selectFirst('user', [], ['uid' => $profile_uid]); - if (!DBM::is_result($user) && !$orig_post) { + if (!DBM::is_result($user) && !$parent) { return; } -- 2.39.5