From a5342d2eb180c092bf4f14b4c1ecb4a252ccb8ce Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 4 Oct 2010 10:07:52 +0000 Subject: [PATCH] calendar: handle catchable fatal error while trying to build rule --- calendar/inc/class.calendar_bo.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/inc/class.calendar_bo.inc.php b/calendar/inc/class.calendar_bo.inc.php index 5914b0ac9c..d7e4919f5a 100644 --- a/calendar/inc/class.calendar_bo.inc.php +++ b/calendar/inc/class.calendar_bo.inc.php @@ -1584,6 +1584,7 @@ class calendar_bo */ function recure2string($event) { + if (!is_array($event)) return false; return (string)calendar_rrule::event2rrule($event); }