Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1098828
D244.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Aug 14, 6:03 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Fri, Aug 15, 6:03 AM (1 h, 53 m)
Engine
blob
Format
Raw Data
Handle
711470
Attached To
D244: INP-1581 - Load email sender/recipient from live table
D244.diff
View Options
Index: branches/5.2.x/core/kernel/utility/email.php
===================================================================
--- branches/5.2.x/core/kernel/utility/email.php
+++ branches/5.2.x/core/kernel/utility/email.php
@@ -369,7 +369,11 @@
$this->fromEmail = $user_info['Email'];
$this->fromName = trim($user_info['FirstName'] . ' ' . $user_info['LastName']);
- $user = $this->Application->recallObject('u.email-from', null, Array ('skip_autoload' => true));
+ $user = $this->Application->recallObject(
+ 'u.email-from',
+ null,
+ array('live_table' => true, 'skip_autoload' => true)
+ );
/* @var $user UsersItem */
$user->Load($user_info['PortalUserId']);
@@ -539,7 +543,11 @@
array_unshift($this->recipients[EmailTemplate::RECIPIENT_TYPE_TO], $add_recipient);
- $user = $this->Application->recallObject('u.email-to', null, Array('skip_autoload' => true));
+ $user = $this->Application->recallObject(
+ 'u.email-to',
+ null,
+ array('live_table' => true, 'skip_autoload' => true)
+ );
/* @var $user UsersItem */
$user->Load($this->recipientUserId);
Event Timeline
Log In to Comment