fix Scrutinizer bug: missing required parameters

This commit is contained in:
Ralf Becker 2016-08-28 11:12:18 +02:00
parent 2ec05f8936
commit 6903ab0f12

View File

@ -1131,7 +1131,9 @@ class CalDAV extends HTTP_WebDAV_Server
{ {
if (isset($value[0]['ns'])) 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); $value = array2string($value);
} }