diff --git a/kronolith/lib/Api.php b/kronolith/lib/Api.php index 02e653099f2..addcc7c9bfe 100644 --- a/kronolith/lib/Api.php +++ b/kronolith/lib/Api.php @@ -744,7 +744,8 @@ public function import($content, $contentType, $calendar = null) } $ical_importer = new Kronolith_Icalendar_Handler_Base($iCal, $kronolith_driver); - return $ical_importer->process(); + $result = array_flip($ical_importer->process()); + return current($result); case 'activesync': $event = $kronolith_driver->getEvent();