Merge pull request #1136 from Alkarex/entry_post

Error message when accessing entry controller by GET
pull/1143/head
Alexandre Alapetite 9 years ago
commit f08d991d1a
  1. 1
      app/Controllers/entryController.php

@ -46,6 +46,7 @@ class FreshRSS_entry_Controller extends Minz_ActionController {
if ($id === false) {
// id is false? It MUST be a POST request!
if (!Minz_Request::isPost()) {
Minz_Request::bad(_t('feedback.access.not_found'), array('c' => 'index', 'a' => 'index'));
return;
}

Loading…
Cancel
Save