Bugfix: Private posts of contacts hadn't been displayed on the contact's page

2022.09-rc
Michael 2019-01-18 06:22:15 +00:00
rodzic 9efe140b54
commit c8bfa0c661
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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