fix PHP Warning: Undefined array key 2

This commit is contained in:
ralf 2023-05-08 15:15:15 +02:00
parent d045fde07c
commit 9f3283033e

View File

@ -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\\')
{