vobject
vobject copied to clipboard
createProperty: check if parameter VALUE is a string
In document.php, function createProperty()
:
For some iCal structures, $parameters["VALUE"] can be of type array instead of type string, resulting in an error when trying to parse it to strtoupper().
To fix this, besides checking if $parameters["VALUE"] is set, we should check if it is a string as well.