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:42:11 +00:00
parent cf78741b71
commit 320861f455

View File

@ -309,7 +309,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']);
}