Page MenuHomePhorge

D25564.1737291727.diff
No OneTemporary

D25564.1737291727.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
Sun, Jan 19, 13:02 (12 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1133680
Default Alt Text
D25564.1737291727.diff (537 B)

Event Timeline