Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1169680
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
Fri, Sep 26, 10:55 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Sat, Sep 27, 10:55 AM (17 h, 51 m)
Engine
blob
Format
Raw Data
Handle
757873
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