Browse Source

Issue #146 : coding style

Ajout de tabulation dans le if{}
Marien Fressinaud 12 years ago
parent
commit
ae2ad78d38
1 changed files with 4 additions and 2 deletions
  1. 4 2
      app/models/Feed.php

+ 4 - 2
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 ());