]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/atomusernoticefeed.php
More use of Profile, less User
[quix0rs-gnu-social.git] / lib / atomusernoticefeed.php
index 567045ee869ba50026de6cbb62787d40e1a26b7b..56e97880b0a651e76aa0c20c62eb3d83a0d1cdca 100644 (file)
@@ -64,7 +64,7 @@ class AtomUserNoticeFeed extends AtomNoticeFeed
 
             $ao = $profile->asActivityObject();
 
-            array_push($ao->extra, $profile->profileInfo($cur));
+            array_push($ao->extra, $profile->profileInfo($cur->getProfile()));
 
             $this->addAuthorRaw($ao->asString('author'));
         }