diff --git a/Classes/Integration/NetlogixIntegration.php b/Classes/Integration/NetlogixIntegration.php index 8eecd9f..382ec2b 100644 --- a/Classes/Integration/NetlogixIntegration.php +++ b/Classes/Integration/NetlogixIntegration.php @@ -46,7 +46,9 @@ public function setupOnce(): void } $event = self::handleEvent($event, $hint); - $event = self::encryptPostBody($event, $hint); + if ($event !== null) { + $event = self::encryptPostBody($event, $hint); + } return $event; });