diff --git a/infolog/inc/class.infolog_tracking.inc.php b/infolog/inc/class.infolog_tracking.inc.php index cc4d3fbb72..3f337eecb1 100644 --- a/infolog/inc/class.infolog_tracking.inc.php +++ b/infolog/inc/class.infolog_tracking.inc.php @@ -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; }