vobject icon indicating copy to clipboard operation
vobject copied to clipboard

createProperty: check if parameter VALUE is a string

Open martijnvankekem opened this issue 1 year ago • 0 comments

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.

martijnvankekem avatar Jan 17 '24 14:01 martijnvankekem