making sure / checking that alarmData is an array as expected.

This commit is contained in:
Klaus Leithoff 2010-07-13 11:49:05 +00:00
parent 87eedef72f
commit f8c674ff9b

View File

@ -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;