summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/encryption/lib/Crypto/EncryptAll.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/Crypto/EncryptAll.php b/apps/encryption/lib/Crypto/EncryptAll.php
index 3d18d8b3a53..a74e6bf08d4 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;
}