Merge pull request from annando/bugfix-public-commenting

Bugfix: Commenting on public posts was not possible anymore
2022.09-rc
Tobias Diekershoff 2018-01-22 10:16:33 +01:00 zatwierdzone przez GitHub
commit 4af9c26fd3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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