summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfox <[email protected]>2021-09-08 07:40:15 +0300
committerfox <[email protected]>2021-09-08 07:40:15 +0300
commit012a9fdee387ad6b2fe2f211e07eed63255069d1 (patch)
treee97c035027984cffebe4d8da7313ad3e9585de5f
parent36e174750ee61e1a7856e9459e2d91deb4f8f93f (diff)
parente44f0cb9376de377b7fb7b48f5ae9c338d7470fe (diff)
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
-rw-r--r--backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index b2ff46dca..bd24416f6 100644
--- a/backend.php
+++ b/backend.php
@@ -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"]);
?>