mirror of
https://github.com/friendica/friendica
synced 2024-11-10 02:22:55 +00:00
Test fix: Add expected author-network field to api_get_item() result
This commit is contained in:
parent
9693a7472e
commit
8d28f199a6
1 changed files with 1 additions and 1 deletions
|
@ -1294,7 +1294,7 @@ function api_get_last_status($ownerId, $uid, $type = 'json')
|
|||
*/
|
||||
function api_get_item(array $condition)
|
||||
{
|
||||
$item = Item::selectFirst(Item::ITEM_FIELDLIST, $condition, ['order' => ['id' => true]]);
|
||||
$item = Item::selectFirst(Item::DISPLAY_FIELDLIST, $condition, ['order' => ['id' => true]]);
|
||||
|
||||
return $item;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue