mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 00:24:19 +01:00
fix PHP Warning: Undefined array key 2
This commit is contained in:
parent
d045fde07c
commit
9f3283033e
2
json.php
2
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\\')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user