X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fapi.php;h=2d3c31af0c3f7a32209d702d2d8dd315d619541e;hb=b41d14afe34d3b692a398f3923f5a48712d2aef9;hp=7cff2af5f3cf1efcbcf24fdc2cc85d95fc275ec3;hpb=dff2384e825c4cc38ab9f6c38db3daf6e9da1fc0;p=friendica.git diff --git a/include/api.php b/include/api.php index 7cff2af5f3..2d3c31af0c 100644 --- a/include/api.php +++ b/include/api.php @@ -1643,7 +1643,8 @@ $user_info = api_get_user($a); - $ret = api_format_items($item,$user_info)[0]; + $rets = api_format_items($item,$user_info); + $ret = $rets[0]; $data = array('$status' => $ret); switch($type){