summaryrefslogtreecommitdiff
path: root/app/models/Feed.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-11-28 22:45:36 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-11-28 22:45:36 +0100
commita3f6bf966acf08be852a42c9dc24f001d17e7b16 (patch)
tree00ba329ecaf24d9827024cd04a6d31539fca753e /app/models/Feed.php
parent7cdc477c45a84bde56f5253ce34924f164e6ca0a (diff)
Corrige bug URL favicons
Corrige #278
Diffstat (limited to 'app/models/Feed.php')
-rw-r--r--app/models/Feed.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/Feed.php b/app/models/Feed.php
index da1a029a8..7405768be 100644
--- a/app/models/Feed.php
+++ b/app/models/Feed.php
@@ -100,7 +100,8 @@ class Feed extends Model {
$favicon_url = Url::display ($file);
if (!file_exists (PUBLIC_PATH . $file)) {
- $favicon_url = dowload_favicon ($this->website (), $this->id ());
+ $base_url = dowload_favicon ($this->website (), $this->id ());
+ $favicon_url = Url::display ($base_url);
}
return $favicon_url;