Notice URIs are not necessarily URLs.

Let's use getUrl() for URL retrieval. May throw exceptions, but
only if it's a Notice that cannot be linked like that anyway.
This commit is contained in:
Mikael Nordfeldth
2014-04-30 20:44:23 +02:00
parent 1acffa9c7a
commit b77a09fdee
7 changed files with 8 additions and 8 deletions

View File

@@ -207,7 +207,7 @@ class LinkbackPlugin extends Plugin
$profile->nickname,
common_exact_date($this->notice->created)),
'excerpt' => $this->notice->content,
'url' => $this->notice->uri,
'url' => $this->notice->getUrl(),
'blog_name' => $profile->nickname);
$fetcher = Auth_Yadis_Yadis::getHTTPFetcher();