summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-09-14 20:38:03 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-09-14 20:38:03 +0200
commitd97577c605a34bb7f45542229ef9a65e4deeee51 (patch)
tree97cee0bc6ffa47a90541bf93649097d68c2cf548 /app/models
parent3a20c42239e48846542ef8f32e17fa0de67d2813 (diff)
parent980b1ef26ca766469486576b88a3dab95d9c0a29 (diff)
Merge branch 'dev' of github.com:marienfressinaud/FreshRSS into dev
Diffstat (limited to 'app/models')
-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 e53df16a1..b3c23d4e8 100644
--- a/app/models/Feed.php
+++ b/app/models/Feed.php
@@ -172,7 +172,7 @@ class Feed extends Model {
);
} else {
$feed = new SimplePie ();
- $url = preg_replace ('/&amp;/', '&', $this->url);
+ $url = str_replace ('&amp;', '&', $this->url);
if ($this->httpAuth != '') {
$url = preg_replace ('#((.+)://)(.+)#', '${1}' . $this->httpAuth . '@${3}', $url);
}