From: nupplaPhil Date: Sat, 1 Feb 2020 22:32:34 +0000 (+0100) Subject: Improve check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0b309245b1cfc50aeb4a3981c0d2250e4a83c19c;p=friendica.git Improve check --- diff --git a/src/Util/EMailer/MailBuilder.php b/src/Util/EMailer/MailBuilder.php index c2c2f75dc5..389874efde 100644 --- a/src/Util/EMailer/MailBuilder.php +++ b/src/Util/EMailer/MailBuilder.php @@ -142,7 +142,7 @@ abstract class MailBuilder !empty($this->recipientUid)) { $user = User::getById($this->recipientUid, ['email']); - if (!empty($user)) { + if (!empty($user['email'])) { $this->recipientAddress = $user['email']; } }