fix Error: Call to a member function id2name() on null

This commit is contained in:
ralf 2024-01-30 16:54:10 +02:00
parent 85fbfe3e63
commit 22a0ae2563

View File

@ -446,7 +446,7 @@ class Asyncservice
if (($GLOBALS['egw']->session->account_id = $job['account_id']))
{
$GLOBALS['egw']->session->account_lid = $GLOBALS['egw']->accounts->id2name($job['account_id']);
$GLOBALS['egw']->session->account_lid = Accounts::id2name($job['account_id']);
$GLOBALS['egw']->session->account_domain = $domain;
$GLOBALS['egw_info']['user'] = $GLOBALS['egw']->session->read_repositories();