From: Hypolite Petovan Date: Mon, 27 May 2019 15:01:13 +0000 (-0400) Subject: [API] Ensures user_show includes a status the user actually authored X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=661aca0f88897d759579dba3b1502355c0b41068;p=friendica.git [API] Ensures user_show includes a status the user actually authored --- diff --git a/include/api.php b/include/api.php index 0ca0bf838c..dcd8335e11 100644 --- a/include/api.php +++ b/include/api.php @@ -1271,7 +1271,7 @@ function api_status_show($type, $item_id) function api_get_last_status($ownerId, $uid) { $condition = [ - 'owner-id' => $ownerId, + 'author-id'=> $ownerId, 'uid' => $uid, 'gravity' => [GRAVITY_PARENT, GRAVITY_COMMENT], 'private' => false