if backend request 'op' is empty fixed

This commit is contained in:
Cyb10101 2021-04-09 21:55:08 +02:00
parent a61348e2b7
commit c15c1dfb0b
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;