From c15c1dfb0b131ef020755a2f76cab81ede1144e5 Mon Sep 17 00:00:00 2001 From: Cyb10101 Date: Fri, 9 Apr 2021 21:55:08 +0200 Subject: [PATCH] if backend request 'op' is empty fixed --- backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;