Fixed alias export not including deleted aliases

This commit is contained in:
Will
2020-07-31 10:32:35 +01:00
parent c8f2126906
commit 2aaa6cd792
6 changed files with 227 additions and 180 deletions

View File

@@ -118,7 +118,7 @@ trait CheckUserRules
case 'encryption':
if ($action['value'] == false) {
// detach the openpgpsigner from the email...
if ($this->openpgpsigner) {
if (isset($this->openpgpsigner)) {
$this->email->withSwiftMessage(function ($message) {
$message->detachSigner($this->openpgpsigner);
});