소스 검색

API: Bug previous commit

https://github.com/marienfressinaud/FreshRSS/issues/443
Bug in
https://github.com/marienfressinaud/FreshRSS/commit/fc6769c1b10314b50be4a3d970c5c4917be6305c
Alexandre Alapetite 12 년 전
부모
커밋
ff8fd95654
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Controllers/indexController.php

+ 1 - 1
app/Controllers/indexController.php

@@ -133,7 +133,7 @@ class FreshRSS_index_Controller extends Minz_ActionController {
 			if ($state === 'not_read' && empty($entries) && ($state_param === null)) {
 				Minz_Log::record ('Conflicting information about nbNotRead!', Minz_Log::DEBUG);
 				$this->view->state = 'all';
-				$entries = $entryDAO->listWhere($getType, $getId, 'all', $order, $nb, $first, $filter, $date_min, $keepHistoryDefault);
+				$entries = $entryDAO->listWhere($getType, $getId, 'all', $order, $nb, $first, $filter, $date_min, true, $keepHistoryDefault);
 			}
 
 			if (count($entries) <= $nb) {