From 26c7f601f3b531654bcb46ba96798352d1ba09ee Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 13 Jul 2010 11:48:06 +0000 Subject: [PATCH] making sure / checking that alarmData is an array as expected. --- calendar/inc/class.calendar_sif.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_sif.inc.php b/calendar/inc/class.calendar_sif.inc.php index d00bcf1fe0..7c6b5d5f1a 100644 --- a/calendar/inc/class.calendar_sif.inc.php +++ b/calendar/inc/class.calendar_sif.inc.php @@ -578,7 +578,7 @@ class calendar_sif extends calendar_boupdate break; } } - if (isset($alarmData)) $event['alarm'][] = $alarmData; + if (isset($alarmData)&&is_array($alarmData)) $event['alarm'][] = $alarmData; } } break;