Error message when accessing entry by GET

This commit is contained in:
Alexandre Alapetite
2016-04-23 23:07:12 +02:00
parent 4862652585
commit 6b787c7408

View File

@@ -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;
}