From 2a9affe8189eb5271b8dcc8b985e818f59187d45 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Thu, 31 Dec 2015 09:46:59 +0100 Subject: [PATCH] Fix small bug in api --- include/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5