From c32e3a7dbe56817826c368a30c29e0e86b024dc0 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 21 Feb 2013 17:33:17 +0100 Subject: [PATCH] Fix typos and read STATUS:CANCELLED --- plugins/calendar/lib/calendar_ical.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/calendar/lib/calendar_ical.php b/plugins/calendar/lib/calendar_ical.php index cec20400..0fea74e0 100644 --- a/plugins/calendar/lib/calendar_ical.php +++ b/plugins/calendar/lib/calendar_ical.php @@ -205,7 +205,9 @@ class calendar_ical case 'STATUS': if ($attr['value'] == 'TENTATIVE') - $event['free_busy'] == 'tentative'; + $event['free_busy'] = 'tentative'; + else if ($attr['value'] == 'CANCELLED') + $event['cancelled'] = true; break; case 'PRIORITY':