Page MenuHomePhorge

D25564.1734698910.diff
No OneTemporary

D25564.1734698910.diff

diff --git a/src/applications/metamta/storage/PhabricatorMetaMTAReceivedMail.php b/src/applications/metamta/storage/PhabricatorMetaMTAReceivedMail.php
--- a/src/applications/metamta/storage/PhabricatorMetaMTAReceivedMail.php
+++ b/src/applications/metamta/storage/PhabricatorMetaMTAReceivedMail.php
@@ -524,7 +524,7 @@
public function newFromAddress() {
$raw_from = $this->getHeader('From');
- if (strlen($raw_from)) {
+ if (phutil_nonempty_string($raw_from)) {
return new PhutilEmailAddress($raw_from);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 12:48 (21 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1018281
Default Alt Text
D25564.1734698910.diff (537 B)

Event Timeline