mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 13:24:37 -04:00
Mark many as read must be a POST action
See https://github.com/marienfressinaud/FreshRSS/issues/599
This commit is contained in:
@@ -45,6 +45,10 @@ class FreshRSS_entry_Controller extends Minz_ActionController {
|
||||
|
||||
$entryDAO = FreshRSS_Factory::createEntryDao();
|
||||
if ($id == false) {
|
||||
if (!Minz_Request::isPost()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!$get) {
|
||||
$entryDAO->markReadEntries ($idMax);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user