Prechádzať zdrojové kódy

Fix rare read call bug (#4456)

https://github.com/FreshRSS/FreshRSS/pull/4052#issuecomment-992341442
Bug from https://github.com/FreshRSS/FreshRSS/pull/1995
Alexandre Alapetite 3 rokov pred
rodič
commit
18b8e91e3f
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/Controllers/entryController.php

+ 1 - 1
app/Controllers/entryController.php

@@ -72,7 +72,7 @@ class FreshRSS_entry_Controller extends FreshRSS_ActionController {
 
 			if (!$get) {
 				// No get? Mark all entries as read (from $id_max)
-				$entryDAO->markReadEntries($id_max, $is_read);
+				$entryDAO->markReadEntries($id_max, false, 0, null, 0, $is_read);
 			} else {
 				$type_get = $get[0];
 				$get = substr($get, 2);