aboutsummaryrefslogtreecommitdiff
path: root/app/models/Feed.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-11 19:48:52 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-11 19:48:52 +0200
commitb9f883be693ecaf0c956c64b9f3bd52f854cb04a (patch)
treec4471e70efb7f1c06b13d1a939865bafd26ed9a9 /app/models/Feed.php
parentc9ae43f262d1e101c659823200cbffbdd5db8ab4 (diff)
Gestion des flux https invalides + amélioration mise à jour
Diffstat (limited to 'app/models/Feed.php')
-rw-r--r--app/models/Feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/Feed.php b/app/models/Feed.php
index da75ae8c8..056cbf626 100644
--- a/app/models/Feed.php
+++ b/app/models/Feed.php
@@ -124,7 +124,7 @@ class Feed extends Model {
);
} else {
$feed = new SimplePie ();
- $feed->set_feed_url ($this->url);
+ $feed->set_feed_url (preg_replace ('/&amp;/', '&', $this->url));
$feed->set_cache_location (CACHE_PATH);
$feed->init ();