From 20bb0a55b2137885323dbbbd18ea76dc4c684e36 Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 14 May 2021 10:33:28 -0600 Subject: [PATCH] * Admin: fix delete user account always displayed 0 entries --- admin/inc/class.admin_account.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.admin_account.inc.php b/admin/inc/class.admin_account.inc.php index 79ee477cc3..affcf86f65 100644 --- a/admin/inc/class.admin_account.inc.php +++ b/admin/inc/class.admin_account.inc.php @@ -358,7 +358,7 @@ class admin_account // Get a count of entries owned by the user if(count($content['account_id']) == 1) { - $_counts = $GLOBALS['egw']->accounts->get_account_entry_counts($content['account_id']); + $_counts = $GLOBALS['egw']->accounts->get_account_entry_counts($content['account_id'][0]); } else {