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

This commit is contained in:
Klaus Leithoff 2010-07-13 11:48:06 +00:00
parent 80706f34b7
commit 26c7f601f3

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;