Skip to content

Commit

Permalink
Bug: 14089 Fix regression in importing text/calendar data via the API.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 19, 2015
1 parent dfe3086 commit c1e165b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kronolith/lib/Api.php
Expand Up @@ -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();
Expand Down

0 comments on commit c1e165b

Please sign in to comment.