Page MenuHomePhorge

D25692.1737818223.diff
No OneTemporary

D25692.1737818223.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
Sat, Jan 25, 15:17 (5 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1132243
Default Alt Text
D25692.1737818223.diff (617 B)

Event Timeline