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