Преглед на файлове

Issue #146 : coding style

Ajout de tabulation dans le if{}
Marien Fressinaud преди 12 години
родител
ревизия
ae2ad78d38
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  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 ());