From: fabrixxm Date: Thu, 31 Dec 2015 08:46:59 +0000 (+0100) Subject: Fix small bug in api X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2a9affe8189eb5271b8dcc8b985e818f59187d45;p=friendica.git Fix small bug in api --- diff --git a/include/api.php b/include/api.php index d2d010c727..762ea6d07b 100644 --- a/include/api.php +++ b/include/api.php @@ -1336,7 +1336,7 @@ intval($since_id), intval($start), intval($count) ); - + $ret = api_format_items($r,$user_info); // Set all posts from the query above to seen @@ -2302,7 +2302,7 @@ * @param array $user_info * @param bool $filter_user filter items by $user_info */ - function api_format_items(&$r,$user_info, $filter_user = false) { + function api_format_items($r,$user_info, $filter_user = false) { $a = get_app(); $ret = Array();