From: Mikael Nordfeldth Date: Fri, 27 Feb 2015 08:57:49 +0000 (+0100) Subject: Pass Profile to asAtomEntry X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d524ad8b59533a6b969f265b65f3a577dee82725;p=quix0rs-gnu-social.git Pass Profile to asAtomEntry --- 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)