X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Flike.php;h=bce1c776f3f1c3faa26eb25a66fdf87d5d0ff7f5;hb=aeb6e53d02fdbc3208851a9a4dc8323db29c62c5;hp=a53b90c0398ce11f215ad1b9d660eb6fbf0c2c01;hpb=9f9497f2ca5c9b0ce93607aaf623d9a2120ed90b;p=friendica.git diff --git a/include/like.php b/include/like.php index a53b90c039..bce1c776f3 100644 --- a/include/like.php +++ b/include/like.php @@ -1,4 +1,8 @@ ' . "\n") ; + $link = xmlify('' . "\n") ; $body = $item['body']; $obj = <<< EOT @@ -197,7 +201,7 @@ EOT; $ulink = '[url=' . $author_contact['url'] . ']' . $author_contact['name'] . '[/url]'; $alink = '[url=' . $item['author-link'] . ']' . $item['author-name'] . '[/url]'; - $plink = '[url=' . App::get_baseurl() . '/display/' . $owner_self_contact['nick'] . '/' . $item['id'] . ']' . $post_type . '[/url]'; + $plink = '[url=' . System::baseUrl() . '/display/' . $owner_self_contact['nick'] . '/' . $item['id'] . ']' . $post_type . '[/url]'; $new_item = array( 'guid' => get_guid(32),