]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Pass Profile to asAtomEntry
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 27 Feb 2015 08:57:49 +0000 (09:57 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 27 Feb 2015 08:57:49 +0000 (09:57 +0100)
lib/apiaction.php

index d85029f4336ade4e9418afad4e7df32fcdf0eac2..e672f3a7e6044b1a717782bceb42cc9247578d73 100755 (executable)
@@ -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)