]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: Commenting on public posts (that you don't follow) was not possible anymore
authorMichael <heluecht@pirati.ca>
Mon, 22 Jan 2018 07:14:34 +0000 (07:14 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 22 Jan 2018 07:14:34 +0000 (07:14 +0000)
mod/item.php

index 57150c97df78ee0f2f9fc4dae0d6127eefe64942..d87ed491c7e812691cfbe0a3a26d6492b0859db7 100644 (file)
@@ -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;
        }