Browse Source

Merge pull request #2228 from fabrixxm/issue_api

Fix small bug in api
pull/2231/head
Tobias Diekershoff 6 years ago
parent
commit
9d4d29ad9e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      include/api.php

+ 2
- 2
include/api.php 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();


Loading…
Cancel
Save