summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfox <[email protected]>2021-04-10 08:30:32 +0300
committerfox <[email protected]>2021-04-10 08:30:32 +0300
commit61b4a678ea055dac3349bb1b67a078e05ae80c0f (patch)
treed16ba549f02a8289adae2b133d44608e9efcaa7b
parenta61348e2b727a0671987b16458603fd028b89a1f (diff)
parentc15c1dfb0b131ef020755a2f76cab81ede1144e5 (diff)
Merge pull request 'if backend request 'op' is empty fixed' (#27) from Cyb10101/tt-rss:cyb-backend-op into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/27
-rw-r--r--backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 98c8eace6..b2ff46dca 100644
--- a/backend.php
+++ b/backend.php
@@ -2,7 +2,7 @@
set_include_path(__DIR__ ."/include" . PATH_SEPARATOR .
get_include_path());
- $op = $_REQUEST["op"];
+ $op = $_REQUEST['op'] ?? '';
$method = !empty($_REQUEST['subop']) ?
$_REQUEST['subop'] :
$_REQUEST["method"] ?? false;