diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-09-15 11:26:13 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-09-16 00:19:43 +0200 |
commit | b413dcfa7cb1906b674234569de2e494a3df07bc (patch) | |
tree | b0b610c9e9d9f8c58b7d8636510b7feb5531fe1d /apps | |
parent | 388b14604a12d5f86438a92818da896cb46709d3 (diff) | |
download | nextcloud-server-b413dcfa7cb1906b674234569de2e494a3df07bc.tar.gz nextcloud-server-b413dcfa7cb1906b674234569de2e494a3df07bc.zip |
Fix conversion of VTODO and VJOURNAL items
Diffstat (limited to 'apps')
-rw-r--r-- | apps/calendar/lib/object.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/calendar/lib/object.php b/apps/calendar/lib/object.php index bf9831de8d4..aa30c7305dc 100644 --- a/apps/calendar/lib/object.php +++ b/apps/calendar/lib/object.php @@ -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; } }; |