Page MenuHomePhorge

D25692.1738272040.diff
No OneTemporary

D25692.1738272040.diff

diff --git a/src/applications/metamta/adapter/PhabricatorMailSMTPAdapter.php b/src/applications/metamta/adapter/PhabricatorMailSMTPAdapter.php
--- a/src/applications/metamta/adapter/PhabricatorMailSMTPAdapter.php
+++ b/src/applications/metamta/adapter/PhabricatorMailSMTPAdapter.php
@@ -62,7 +62,7 @@
$smtp->Host = $this->getOption('host');
$smtp->Port = $this->getOption('port');
$user = $this->getOption('user');
- if (strlen($user)) {
+ if (phutil_nonempty_string($user)) {
$smtp->SMTPAuth = true;
$smtp->Username = $user;
$smtp->Password = $this->getOption('password');

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 30, 21:20 (17 m, 37 s ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1132243
Default Alt Text
D25692.1738272040.diff (617 B)

Event Timeline