diff --git a/apps/encryption/lib/Crypto/EncryptAll.php b/apps/encryption/lib/Crypto/EncryptAll.php index 3d18d8b3a5..a74e6bf08d 100644 --- a/apps/encryption/lib/Crypto/EncryptAll.php +++ b/apps/encryption/lib/Crypto/EncryptAll.php @@ -417,7 +417,7 @@ class EncryptAll { $recipientDisplayName = $recipient->getDisplayName(); $to = $recipient->getEMailAddress(); - if ($to === '') { + if ($to === '' || $to === null) { $noMail[] = $uid; continue; }