1
0
Fork 0

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
commit 4af9c26fd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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