Pass Profile to asAtomEntry

This commit is contained in:
Mikael Nordfeldth 2015-02-27 09:57:49 +01:00
parent 61992dd9a2
commit d524ad8b59
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ class ApiAction extends Action
function showSingleAtomStatus($notice)
{
header('Content-Type: application/atom+xml; charset=utf-8');
print $notice->asAtomEntry(true, true, true, $this->auth_user);
print $notice->asAtomEntry(true, true, true, $this->auth_user->getProfile());
}
function show_single_json_status($notice)