1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:15:55 +00:00

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

View File

@@ -161,6 +161,6 @@
}
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"]);
?>