Skip to content

PHP8 Fix for type error on property_exists when no custom metadata is sent in webhook

seamuslee requested to merge seamuslee/sparkpost:php8_1_property into master

This aims to fix the following type error in more recent php versions

Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /xxxxx/ext/com.cividesk.email.sparkpost/CRM/Sparkpost/Page/callback.php:74

Merge request reports

Loading