Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F68403
D7284.diff
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
890 B
Referenced Files
None
Subscribers
None
D7284.diff
View Options
diff --git a/src/applications/metamta/storage/PhabricatorMetaMTAMail.php b/src/applications/metamta/storage/PhabricatorMetaMTAMail.php
--- a/src/applications/metamta/storage/PhabricatorMetaMTAMail.php
+++ b/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
Details
Attached
Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/3j/2m/ghkvw6bg736ctx2k
Default Alt Text
D7284.diff (890 B)
Attached To
Mode
D7284: Fix issue reported from github
Attached
Detach File
Event Timeline
Log In to Comment