From 9f3283033e4841834106afcd01cc68c6190c3ef0 Mon Sep 17 00:00:00 2001 From: ralf Date: Mon, 8 May 2023 15:15:15 +0200 Subject: [PATCH] fix PHP Warning: Undefined array key 2 --- json.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json.php b/json.php index 2229aa645c..cfbae6fc29 100644 --- a/json.php +++ b/json.php @@ -83,7 +83,7 @@ try { } if (strpos($_GET['menuaction'],'::') !== false && strpos($_GET['menuaction'],'.') === false) // static method name app_something::method { - @list($className,$functionName,$handler) = explode('::',$_GET['menuaction']); + @list($className,$functionName,$handler) = explode('::',$_GET['menuaction'])+[2 => null]; if (substr($className, 0, 11) == 'EGroupware\\') {