From eeb62670ad563d27dff7da2d027c19b01de8a17b Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 30 Jan 2024 16:54:10 +0200 Subject: [PATCH] fix Error: Call to a member function id2name() on null --- api/src/Asyncservice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Asyncservice.php b/api/src/Asyncservice.php index 6d23b77a3d..922dd6e0f5 100644 --- a/api/src/Asyncservice.php +++ b/api/src/Asyncservice.php @@ -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();