From: Hypolite Petovan Date: Mon, 4 Mar 2019 10:59:53 +0000 (-0500) Subject: Test fix: Add expected author-network field to api_get_item() result X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8d28f199a639851d0dbc6725b105b87ecb50c19f;p=friendica.git Test fix: Add expected author-network field to api_get_item() result --- diff --git a/include/api.php b/include/api.php index 292068b511..841ed1a719 100644 --- a/include/api.php +++ b/include/api.php @@ -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; }