summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/editeventform.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/editeventform.php')
-rw-r--r--apps/calendar/ajax/editeventform.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/editeventform.php b/apps/calendar/ajax/editeventform.php
index 34d6c657cec..e6dc8136601 100644
--- a/apps/calendar/ajax/editeventform.php
+++ b/apps/calendar/ajax/editeventform.php
@@ -26,7 +26,7 @@ if($calendar['userid'] != OC_User::getUser()){
echo $l10n->t('Wrong calendar');
exit;
}
-$object = Sabre_VObject_Reader::read($data['calendardata']);
+$object = OC_Calendar_Object::parse($data['calendardata']);
$vevent = $object->VEVENT;
$dtstart = $vevent->DTSTART;
$dtend = OC_Calendar_Object::getDTEndFromVEvent($vevent);