diff options
author | Cyb10101 <[email protected]> | 2021-04-09 21:55:08 +0200 |
---|---|---|
committer | Cyb10101 <[email protected]> | 2021-04-09 21:55:08 +0200 |
commit | c15c1dfb0b131ef020755a2f76cab81ede1144e5 (patch) | |
tree | d16ba549f02a8289adae2b133d44608e9efcaa7b | |
parent | a61348e2b727a0671987b16458603fd028b89a1f (diff) |
if backend request 'op' is empty fixed
-rw-r--r-- | backend.php | 2 |
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; |