Merge pull request 'Fix undefined index error' (#45) from jpschewe/tt-rss:fix-undefined-index into master

Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/45
This commit is contained in:
fox 2021-09-08 07:40:15 +03:00
commit 012a9fdee3
1 changed files with 1 additions and 1 deletions

View File

@ -161,6 +161,6 @@
} }
header("Content-Type: text/json"); header("Content-Type: text/json");
print Errors::to_json(Errors::E_UNKNOWN_METHOD, [ "info" => (isset($handler) ? get_class($handler) : "UNKNOWN:".$_REQUEST["op"]) . "->$method"]); print Errors::to_json(Errors::E_UNKNOWN_METHOD, [ "info" => (isset($handler) ? get_class($handler) : "UNKNOWN:".$op) . "->$method"]);
?> ?>