mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: remove unnecessary null coalescing on senderEmail
This commit is contained in:
@@ -128,7 +128,7 @@ class Update extends Action
|
||||
$mail->Host = $smtp['host'] ?? '';
|
||||
$mail->Port = $smtp['port'] ?? '';
|
||||
$mail->SMTPSecure = $smtp['secure'] ?? '';
|
||||
$mail->setFrom($smtp['senderEmail'] ?? '', $smtp['senderName'] ?? '');
|
||||
$mail->setFrom($smtp['senderEmail'], $smtp['senderName'] ?? '');
|
||||
|
||||
if (!empty($smtp['username'] ?? '')) {
|
||||
$mail->SMTPAuth = true;
|
||||
|
||||
Reference in New Issue
Block a user