]> git.mxchange.org Git - friendica.git/commitdiff
Fix small bug in api
authorfabrixxm <fabrix.xm@gmail.com>
Thu, 31 Dec 2015 08:46:59 +0000 (09:46 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Thu, 31 Dec 2015 08:46:59 +0000 (09:46 +0100)
include/api.php

index d2d010c72754ff1bbccc29e8a7a44eb11eae80ab..762ea6d07bca7eac1efcbab42ba590b43586e52a 100644 (file)
                        intval($since_id),
                        intval($start), intval($count)
                );
-
+       
                $ret = api_format_items($r,$user_info);
 
                // Set all posts from the query above to seen
         * @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();