Branch 'roundcubemail-plugins-kolab-0.7' - plugins/calendar
Aleksander Machniak
machniak at kolabsys.com
Mon Oct 15 12:39:10 CEST 2012
plugins/calendar/lib/calendar_ical.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit e03d4139ab2058a7f1d2dc7ef8c123f42e2d8f6a
Author: Aleksander Machniak <machniak at kolabsys.com>
Date: Mon Oct 15 12:36:23 2012 +0200
Fix fatal error on event without an UID and PHP warning (Bug #1108)
diff --git a/plugins/calendar/lib/calendar_ical.php b/plugins/calendar/lib/calendar_ical.php
index d79a917..d2ec2c9 100644
--- a/plugins/calendar/lib/calendar_ical.php
+++ b/plugins/calendar/lib/calendar_ical.php
@@ -158,6 +158,7 @@ class calendar_ical
// set defaults
'free_busy' => 'busy',
'priority' => 0,
+ 'attendees' => array(),
);
// check for all-day dates
@@ -307,7 +308,7 @@ class calendar_ical
// make sure the event has an UID
if (!$event['uid'])
- $event['uid'] = $this->cal->$this->generate_uid();
+ $event['uid'] = $this->cal->generate_uid();
return $event;
}
More information about the commits
mailing list