From 378526a648b7ba47fc630858c37a92e9fd6c42d0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 11 Aug 2011 07:41:18 +0000 Subject: [PATCH] quietend PHP Warning: explode() expects parameter 2 to be string, array given on line 313 --- calendar/inc/class.calendar_uiforms.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 033f5ad661..025bdf80ea 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -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']); }