Merge pull request #6461 from annando/contacts-post

Private posts of contacts hadn't been displayed on the contact's page
This commit is contained in:
Tobias Diekershoff 2019-01-18 09:39:10 +01:00 committed by GitHub
commit 678004e15a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1414,7 +1414,7 @@ class Contact extends BaseObject
$items = Item::inArray($r);
$o = conversation($a, $items, $pager, 'contacts', $update);
$o = conversation($a, $items, $pager, 'contacts', $update, false, 'commented', local_user());
} else {
$r = Item::selectForUser(local_user(), [], $condition, $params);