Skip to content

A free, self-hostable news aggregator…

Issue #146 : coding style

Marien Fressinaudae2ad78d38c5
diff --git a/app/models/Feed.php b/app/models/Feed.php
index 3601ed1f8..e53df16a1 100644
--- a/app/models/Feed.php
+++ b/app/models/Feed.php
@@ -200,10 +200,12 @@ 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 ());