From 49498cb263c44fd5e764e4b84788732f92056dbd Mon Sep 17 00:00:00 2001 From: ralf Date: Mon, 9 Dec 2024 16:26:29 +0100 Subject: [PATCH] fix PHP Warning for undefined --- json.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json.php b/json.php index cfbae6fc29..3e8df66326 100644 --- a/json.php +++ b/json.php @@ -96,7 +96,7 @@ try { } else { - @list($appName, $className, $functionName, $handler) = explode('.',$_GET['menuaction']); + @list($appName, $className, $functionName, $handler) = explode('.', $_GET['menuaction'])+[null, null, null, null]; } //error_log("json.php: appName=$appName, className=$className, functionName=$functionName, handler=$handler");