* Admin: fix delete user account always displayed 0 entries

This commit is contained in:
nathangray 2021-05-14 10:33:28 -06:00 committed by ralf
parent 6c75d9eb9f
commit 20bb0a55b2

View File

@ -358,7 +358,7 @@ class admin_account
// Get a count of entries owned by the user // Get a count of entries owned by the user
if(count($content['account_id']) == 1) 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 else
{ {