Fix small bug in api

This commit is contained in:
fabrixxm 2015-12-31 09:46:59 +01:00
parent 907d20940a
commit 2a9affe818

View File

@ -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();