From 16cf3a642e42e4a2c390be2c4c464a14f8256f24 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 14 Jan 2013 14:16:11 +0000 Subject: [PATCH] fix warning implode(): Invalid arguments passed in line 1810/1811 --- calendar/inc/class.calendar_uiviews.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiviews.inc.php b/calendar/inc/class.calendar_uiviews.inc.php index 8d5ae141a6..cb518c6e6f 100644 --- a/calendar/inc/class.calendar_uiviews.inc.php +++ b/calendar/inc/class.calendar_uiviews.inc.php @@ -1707,11 +1707,11 @@ function open_edit(series) { $timespan = $this->bo->timespan($event['start_m'],$event['end_m']); } + $icons = array(); if(!(int)$event['id'] && preg_match('/^([a-z_-]+)([0-9]+)$/i',$event['id'],$matches)) { $app = $matches[1]; $app_id = $matches[2]; - $icons = array(); if (($is_private = calendar_bo::integration_get_private($app,$app_id,$event))) { $icons[] = html::image('calendar','private');