pimcore / ecommerce-framework-bundle

Ecommerce Framework community bundle provides e-commerce functionality such as product listing and filtering, pricing, carts and checkouts for Pimcore.
https://pimcore.com/docs/platform/Ecommerce_Framework/
Other
8 stars 28 forks source link

fix trim on null #177

Closed AlternateIf closed 3 months ago

AlternateIf commented 3 months ago

the value might be null in case of it being an empty string and other occasions (see: https://github.com/AlternateIf/ecommerce-framework-bundle/blob/4a2b7cdb5dc4f4f432f111400a4b8507e4a893f2/src/FilterService/FilterType/ElasticSearch/SelectFromMultiSelect.php#L39)

a null value can't be trimmed and causes an error. adresses #166

fashxp commented 3 months ago

@AlternateIf can you please fix the syntax. thx very much.