From: hauke Date: Tue, 27 Jan 2015 17:21:32 +0000 (+0100) Subject: bug fix: syntax error #1321 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3dcc1da88b63810ec94e4dadedac970665b93e2a;p=friendica.git bug fix: syntax error #1321 --- 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){