X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsubthread.php;h=a597b169872feb63a144aa5def4ae12d333ad2ac;hb=a5e91175243a41c77a56e73efc3672f20a7e6d23;hp=646a4230c5f486819100624ddf754231b52814d1;hpb=291906de5f3074407253241e5ccbb5af633e0c22;p=friendica.git diff --git a/mod/subthread.php b/mod/subthread.php index 646a4230c5..a597b16987 100644 --- a/mod/subthread.php +++ b/mod/subthread.php @@ -1,10 +1,13 @@ ' . "\n") ; + $link = xmlify('' . "\n") ; $body = $item['body']; $obj = <<< EOT @@ -129,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;