From 8a3e4775a07b58f7b256767149bbeef3fe4b8dc5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 12 Dec 2004 12:26:49 +0000 Subject: [PATCH] fixed warning --- calendar/inc/class.socalendar_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.socalendar_sql.inc.php b/calendar/inc/class.socalendar_sql.inc.php index 689a2c35bb..ba6699ae7c 100755 --- a/calendar/inc/class.socalendar_sql.inc.php +++ b/calendar/inc/class.socalendar_sql.inc.php @@ -574,7 +574,7 @@ 'cal_title' => $event['title'], 'cal_description'=> $event['description'], 'cal_location' => $event['location'], - 'cal_groups' => count($event['groups']) ? ','.implode(',',$event['groups']).',' : '', + 'cal_groups' => is_array($event['groups']) ? ','.implode(',',$event['groups']).',' : '', 'cal_reference' => $event['reference'], ),array('cal_id' => $event['id']),__LINE__,__FILE__);