Commit d524ad8b authored by mmn's avatar mmn

Pass Profile to asAtomEntry

parent 61992dd9
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment