Bugfix: Commenting on public posts (that you don't follow) was not possible anymore

This commit is contained in:
Michael 2018-01-22 07:14:34 +00:00
parent 986e22d9e1
commit d588ef32e0

View file

@ -174,7 +174,7 @@ function item_post(App $a) {
} }
$user = dba::selectFirst('user', [], ['uid' => $profile_uid]); $user = dba::selectFirst('user', [], ['uid' => $profile_uid]);
if (!DBM::is_result($user) && !$orig_post) { if (!DBM::is_result($user) && !$parent) {
return; return;
} }