summaryrefslogtreecommitdiff
path: root/app/models/Feed.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/Feed.php')
-rw-r--r--app/models/Feed.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/models/Feed.php b/app/models/Feed.php
index 14366c5b3..c1d0379a9 100644
--- a/app/models/Feed.php
+++ b/app/models/Feed.php
@@ -247,10 +247,8 @@ class Feed extends Model {
$this->_url ($subscribe_url);
}
- if (empty($this->name)) { // May come from OPML
- $title = $feed->get_title ();
- $this->_name (!is_null ($title) ? $title : $this->url);
- }
+ $title = $feed->get_title ();
+ $this->_name (!is_null ($title) ? $title : $this->url);
$this->_website ($feed->get_link ());
$this->_description ($feed->get_description ());