diff --git a/src/Module/Post/Tag/Add.php b/src/Module/Post/Tag/Add.php index 8c48587947..53be1c639d 100644 --- a/src/Module/Post/Tag/Add.php +++ b/src/Module/Post/Tag/Add.php @@ -118,10 +118,10 @@ EOT; EOT; - $tagger_link = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]'; - $aauthor_link = '[url=' . $item['author-link'] . ']' . $item['author-name'] . '[/url]'; - $post_link = '[url=' . $item['plink'] . ']' . ($item['resource-id'] ? $this->t('photo') : $this->t('post')) . '[/url]'; - $term_link = '#[url=' . $tagid . ']' . $term . '[/url]'; + $tagger_link = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]'; + $author_link = '[url=' . $item['author-link'] . ']' . $item['author-name'] . '[/url]'; + $post_link = '[url=' . $item['plink'] . ']' . ($item['resource-id'] ? $this->t('photo') : $this->t('post')) . '[/url]'; + $term_link = '#[url=' . $tagid . ']' . $term . '[/url]'; $post = [ 'guid' => System::createUUID(), @@ -138,7 +138,7 @@ EOT; 'author-name' => $contact['name'], 'author-link' => $contact['url'], 'author-avatar' => $contact['thumb'], - 'body' => $this->t('%1$s tagged %2$s\'s %3$s with %4$s', $tagger_link, $aauthor_link, $post_link, $term_link), + 'body' => $this->t('%1$s tagged %2$s\'s %3$s with %4$s', $tagger_link, $author_link, $post_link, $term_link), 'verb' => Activity::TAG, 'target-type' => $targettype, 'target' => $target,