Skip to content

Commit 656e098

Browse files
committed
get new instance of emailer helper
1 parent 9fbdd0a commit 656e098

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Helpers/email_helper.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ function emailer(array $overrides = []): Email
4141
}
4242

4343
/** @var Email $email */
44-
$email = service('email');
45-
46-
// Clear previous email states since this is shared
47-
$email->clear();
44+
$email = service('email', false);
4845

4946
return $email->initialize($config);
5047
}

0 commit comments

Comments
 (0)