mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-21 21:38:55 +01:00
fix PHP Warning: Undefined array key 2
This commit is contained in:
parent
659f5ca06d
commit
6d5d4be614
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