calendar: handle catchable fatal error while trying to build rule

This commit is contained in:
Klaus Leithoff 2010-10-04 10:07:44 +00:00
parent f0d17f033d
commit 38d90dd362

View File

@ -1518,6 +1518,7 @@ class calendar_bo
*/
function recure2string($event)
{
if (!is_array($event)) return false;
return (string)calendar_rrule::event2rrule($event);
}