Explorar o código

API: Bug previous commit

https://github.com/marienfressinaud/FreshRSS/issues/443
Bug in
https://github.com/marienfressinaud/FreshRSS/commit/fc6769c1b10314b50be4a3d970c5c4917be6305c
Alexandre Alapetite %!s(int64=12) %!d(string=hai) anos
pai
achega
ff8fd95654
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {