Page MenuHomePhorge

D25692.1734736775.diff
No OneTemporary

D25692.1734736775.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
Fri, Dec 20, 23:19 (14 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016246
Default Alt Text
D25692.1734736775.diff (617 B)

Event Timeline