diff --git a/api/src/CalDAV.php b/api/src/CalDAV.php index 8db8939839..12dce4662d 100644 --- a/api/src/CalDAV.php +++ b/api/src/CalDAV.php @@ -1131,7 +1131,9 @@ class CalDAV extends HTTP_WebDAV_Server { if (isset($value[0]['ns'])) { - $value = $this->_hierarchical_prop_encode($value); + $ns_defs = ''; + $ns_hash = array(); + $value = $this->_hierarchical_prop_encode($value, '', $ns_defs, $ns_hash); } $value = array2string($value); }