]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Linkback/lib/util.php
Avoid having to check for notices without rendered copies in upgrade.php
[quix0rs-gnu-social.git] / plugins / Linkback / lib / util.php
index ee498a47715b5db595c666593a33bbf69495295e..2f024dd2338a4d4a838d13b1feb94bad40a9d67a 100644 (file)
@@ -388,7 +388,7 @@ function linkback_save($source, $target, $response, $notice_or_user) {
         //        notice's nickname and %3$s is the content of the favorited notice.)
         $act->content = sprintf(_('%1$s favorited something by %2$s: %3$s'),
                                 $profile->getNickname(), $notice_or_user->getProfile()->getNickname(),
-                                $notice_or_user->rendered ?: $notice_or_user->content);
+                                $notice_or_user->getRendered());
         if($entry['rsvp']) {
             $act->content = $options['rendered'];
         }