ソースを参照

PHP 5.3 more compatibility

https://github.com/FreshRSS/FreshRSS/pull/1209#issuecomment-239617504
https://github.com/FreshRSS/FreshRSS/issues/1208
Alexandre Alapetite 9 年 前
コミット
02d1d66235
1 ファイル変更2 行追加2 行削除
  1. 2 2
      app/Controllers/indexController.php

+ 2 - 2
app/Controllers/indexController.php

@@ -61,9 +61,9 @@ class FreshRSS_index_Controller extends Minz_ActionController {
 				Minz_Error::error(404);
 				Minz_Error::error(404);
 			}
 			}
 
 
-			$this->view->categories = FreshRSS_Context::$categories;
+			$view->categories = FreshRSS_Context::$categories;
 
 
-			$this->view->rss_title = FreshRSS_Context::$name . ' | ' . Minz_View::title();
+			$view->rss_title = FreshRSS_Context::$name . ' | ' . Minz_View::title();
 			$title = FreshRSS_Context::$name;
 			$title = FreshRSS_Context::$name;
 			if (FreshRSS_Context::$get_unread > 0) {
 			if (FreshRSS_Context::$get_unread > 0) {
 				$title = '(' . FreshRSS_Context::$get_unread . ') ' . $title;
 				$title = '(' . FreshRSS_Context::$get_unread . ') ' . $title;