Page MenuHomePhabricator

D7284.diff
No OneTemporary

D7284.diff

Index: src/applications/metamta/storage/PhabricatorMetaMTAMail.php
===================================================================
--- src/applications/metamta/storage/PhabricatorMetaMTAMail.php
+++ src/applications/metamta/storage/PhabricatorMetaMTAMail.php
@@ -383,10 +383,13 @@
switch ($key) {
case 'from':
$from = $value;
- $actor = $actors[$from];
-
- $actor_email = $actor->getEmailAddress();
- $actor_name = $actor->getName();
+ $actor_email = null;
+ $actor_name = null;
+ $actor = idx($actors, $from);
+ if ($actor) {
+ $actor_email = $actor->getEmailAddress();
+ $actor_name = $actor->getName();
+ }
$can_send_as_user = $actor_email &&
PhabricatorEnv::getEnvConfig('metamta.can-send-as-user');

File Metadata

Mime Type
text/plain
Expires
Sun, May 12, 6:20 AM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6290662
Default Alt Text
D7284.diff (885 B)

Event Timeline