diff --git a/src/models/Dispatch.php b/src/models/Dispatch.php index e48704b..e6ee44e 100644 --- a/src/models/Dispatch.php +++ b/src/models/Dispatch.php @@ -593,7 +593,8 @@ private function _parseTwig(array $config, string $text): string $vars = [ // Event Variables 'event' => $this->event, - 'object' => $this->event->sender, + // Unique case for User Activated events + 'object' => $this->event->user ?? $this->event->sender, // People Variables 'recipient' => $recipient, // Element Variables