aboutsummaryrefslogtreecommitdiffstats
path: root/apps/tasks/ajax/edittask.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tasks/ajax/edittask.php')
-rw-r--r--apps/tasks/ajax/edittask.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tasks/ajax/edittask.php b/apps/tasks/ajax/edittask.php
index e9603d92da9..115f2f078ab 100644
--- a/apps/tasks/ajax/edittask.php
+++ b/apps/tasks/ajax/edittask.php
@@ -26,7 +26,7 @@ if (!empty($errors)) {
exit();
}
-$vcalendar = Sabre_VObject_Reader::read($task['calendardata']);
+$vcalendar = OC_VObject::parse($task['calendardata']);
OC_Task_VTodo::updateVCalendarFromRequest($_POST, $vcalendar);
OC_Calendar_Object::edit($id, $vcalendar->serialize());