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
This commit is contained in:
fox 2021-04-10 08:30:32 +03:00
commit 61b4a678ea
1 changed files with 1 additions and 1 deletions

View File

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