From d524ad8b59533a6b969f265b65f3a577dee82725 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 27 Feb 2015 09:57:49 +0100 Subject: [PATCH] Pass Profile to asAtomEntry --- lib/apiaction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/apiaction.php b/lib/apiaction.php index d85029f433..e672f3a7e6 100755 --- a/lib/apiaction.php +++ b/lib/apiaction.php @@ -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)