Use MagicLinkbyId when possible

This commit is contained in:
Michael 2018-06-02 08:28:01 +00:00
parent 8a34895a23
commit 723b5ae803
5 changed files with 13 additions and 12 deletions

View file

@ -196,7 +196,7 @@ class Term
$orig_tag = $tag["url"];
$tag["url"] = Contact::magicLink($item['author-link'], $tag['url']);
$tag["url"] = Contact::magicLinkById($item['author-id'], $tag['url']);
if ($tag["type"] == TERM_HASHTAG) {
if ($orig_tag != $tag["url"]) {