mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 02:43:22 +01:00
Infolog: Make sure to use the current user as set in Tracking, rather than $GLOBALS[egw_info']['user']['ccount_id'] when getting reply_to because we change the GLOBALS user when generating the notification.
This commit is contained in:
parent
dce64ac6dd
commit
e939022817
@ -328,8 +328,10 @@ class infolog_tracking extends Api\Storage\Tracking
|
||||
switch($name)
|
||||
{
|
||||
case 'reply_to': // for async notification use owner of infolog, otherwise the user causing the change
|
||||
if (($reply_to = Api\Accounts::getInstance()->id2name(!empty($GLOBALS['egw_info']['flags']['async-service']) ?
|
||||
$data['info_owner'] : $GLOBALS['egw_info']['user']['account_id'], 'account_email')))
|
||||
if(($reply_to = Api\Accounts::getInstance()
|
||||
->id2name(!empty($GLOBALS['egw_info']['flags']['async-service']) ?
|
||||
$data['info_owner'] : $this->user, 'account_email'
|
||||
)))
|
||||
{
|
||||
$config = $reply_to;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user