Procházet zdrojové kódy

API: Bug previous commit

https://github.com/marienfressinaud/FreshRSS/issues/443
Bug in
https://github.com/marienfressinaud/FreshRSS/commit/fc6769c1b10314b50be4a3d970c5c4917be6305c
Alexandre Alapetite před 12 roky
rodič
revize
ff8fd95654
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) {