mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
Fixing tests
This commit is contained in:
parent
72c198990e
commit
3a6d3cd439
1 changed files with 1 additions and 1 deletions
|
@ -783,7 +783,7 @@ function api_item_get_user(App $a, $item)
|
|||
|
||||
$author_user = $status_user;
|
||||
|
||||
$status_user["protected"] = $item['private'] == Item::PRIVATE;
|
||||
$status_user["protected"] = isset($item['private']) && ($item['private'] == Item::PRIVATE);
|
||||
|
||||
if (($item['thr-parent'] ?? '') == ($item['uri'] ?? '')) {
|
||||
$owner_user = api_get_user($a, $item['owner-id'] ?? null);
|
||||
|
|
Loading…
Reference in a new issue