]> git.mxchange.org Git - friendica.git/commitdiff
bug fix: syntax error #1321
authorhauke <hauke@grlg.org>
Tue, 27 Jan 2015 17:21:32 +0000 (18:21 +0100)
committerhauke <hauke@grlg.org>
Tue, 27 Jan 2015 17:21:32 +0000 (18:21 +0100)
include/api.php

index 7cff2af5f3cf1efcbcf24fdc2cc85d95fc275ec3..2d3c31af0c3f7a32209d702d2d8dd315d619541e 100644 (file)
 
 
                $user_info = api_get_user($a);
-               $ret = api_format_items($item,$user_info)[0];
+               $rets = api_format_items($item,$user_info);
+               $ret = $rets[0];
 
                $data = array('$status' => $ret);
                switch($type){