mirror of
https://github.com/nextcloud/server.git
synced 2026-03-03 05:51:07 -05:00
Fix conversion of VTODO and VJOURNAL items
This commit is contained in:
parent
388b14604a
commit
b413dcfa7c
1 changed files with 5 additions and 5 deletions
|
|
@ -217,13 +217,13 @@ class OC_Calendar_Object{
|
|||
}
|
||||
}
|
||||
elseif($property->name == 'VTODO' || $property->name == 'VJOURNAL'){
|
||||
$return[0] = $use->name;
|
||||
$return[0] = $property->name;
|
||||
foreach($property->children as &$element){
|
||||
if($property->name == 'SUMMARY'){
|
||||
$return[3] = $property->value;
|
||||
if($element->name == 'SUMMARY'){
|
||||
$return[3] = $element->value;
|
||||
}
|
||||
elseif($property->name == 'UID'){
|
||||
$return[5] = $property->value;
|
||||
elseif($element->name == 'UID'){
|
||||
$return[5] = $element->value;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue