소스 검색

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);
 			}
 
-			$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;
 			if (FreshRSS_Context::$get_unread > 0) {
 				$title = '(' . FreshRSS_Context::$get_unread . ') ' . $title;