calendar: handle catchable fatal error while trying to build rule

This commit is contained in:
Klaus Leithoff 2010-10-04 10:04:02 +00:00
parent 0dfcfcb760
commit 633fdb1115

View File

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