summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorCyb10101 <[email protected]>2021-04-09 21:55:08 +0200
committerCyb10101 <[email protected]>2021-04-09 21:55:08 +0200
commitc15c1dfb0b131ef020755a2f76cab81ede1144e5 (patch)
treed16ba549f02a8289adae2b133d44608e9efcaa7b /backend.php
parenta61348e2b727a0671987b16458603fd028b89a1f (diff)
if backend request 'op' is empty fixed
Diffstat (limited to 'backend.php')
-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;