X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsubthread.php;h=a597b169872feb63a144aa5def4ae12d333ad2ac;hb=a5e91175243a41c77a56e73efc3672f20a7e6d23;hp=c154187a695dc4a11511c2824923a4e3b97771a6;hpb=b4bc07fdcce4e326d5ade05aab0f7305e874398e;p=friendica.git diff --git a/mod/subthread.php b/mod/subthread.php index c154187a69..a597b16987 100644 --- a/mod/subthread.php +++ b/mod/subthread.php @@ -1,11 +1,14 @@ ' . "\n") ; + $link = xmlify('' . "\n") ; $body = $item['body']; $obj = <<< EOT @@ -130,7 +132,7 @@ EOT; $ulink = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]'; $alink = '[url=' . $item['author-link'] . ']' . $item['author-name'] . '[/url]'; - $plink = '[url=' . App::get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['id'] . ']' . $post_type . '[/url]'; + $plink = '[url=' . System::baseUrl() . '/display/' . $owner['nickname'] . '/' . $item['id'] . ']' . $post_type . '[/url]'; $arr['body'] = sprintf( $bodyverb, $ulink, $alink, $plink ); $arr['verb'] = $activity;