Use MagicLinkbyId when possible
This commit is contained in:
parent
8a34895a23
commit
723b5ae803
5 changed files with 13 additions and 12 deletions
|
|
@ -1296,7 +1296,7 @@ function prepare_body(array &$item, $attach = false, $is_preview = false)
|
|||
foreach ($matches as $mtch) {
|
||||
$mime = $mtch[3];
|
||||
|
||||
$the_url = Contact::magicLink($item['author-link'], $mtch[1]);
|
||||
$the_url = Contact::magicLinkById($item['author-id'], $mtch[1]);
|
||||
|
||||
if (strpos($mime, 'video') !== false) {
|
||||
if (!$vhead) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue