Skip to content

Commit 2d440b2

Browse files
committed
Fix undefined property
1 parent 6bd4b95 commit 2d440b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Resources/SuppressionResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public static function table(Table $table): Table
125125
Tables\Actions\Action::make('unsuppress')
126126
->label(__('Unsuppress'))
127127
->action(function (MailEvent $record) {
128-
event(new MailUnsuppressed(key($record->to), $record->mail->mailer == 'smtp' && filled($record->mail->transport) ? $record->mail->transport : $record->mail->mailer, $record->mail->stream_id ?? null));
128+
event(new MailUnsuppressed(key($record->mail->to), $record->mail->mailer == 'smtp' && filled($record->mail->transport) ? $record->mail->transport : $record->mail->mailer, $record->mail->stream_id ?? null));
129129
})
130130
->visible(fn ($record) => Provider::tryFrom($record->mail->mailer == 'smtp' && filled($record->mail->transport) ? $record->mail->transport : $record->mail->mailer)),
131131

0 commit comments

Comments
 (0)