Improve check

This commit is contained in:
nupplaPhil 2020-02-01 23:32:34 +01:00
parent 0e13428210
commit 0b309245b1
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90
1 changed files with 1 additions and 1 deletions

View File

@ -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'];
}
}