Merge pull request #4303 from annando/bugfix-public-commenting

Bugfix: Commenting on public posts was not possible anymore
This commit is contained in:
Tobias Diekershoff
2018-01-22 10:16:33 +01:00
committed by GitHub

View 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;
}