Преглед изворни кода

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 година
родитељ
комит
18b8e91e3f
1 измењених фајлова са 1 додато и 1 уклоњено
  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);