quietend PHP Warning: explode() expects parameter 2 to be string, array given on line 313

This commit is contained in:
Ralf Becker 2011-08-11 07:41:18 +00:00
parent 4f54abdda2
commit 378526a648

View File

@ -310,7 +310,7 @@ class calendar_uiforms extends calendar_ui
break;
case 'resource':
if (is_array($data) && isset($data['current']) )
if (is_array($data)) // if $data['current'] is NOT set --> $app==''
{
list($app,$id) = explode(':',$data['current']);
}