diff --git a/admin/inc/class.admin_account.inc.php b/admin/inc/class.admin_account.inc.php index 95d5314621..500ddbd776 100644 --- a/admin/inc/class.admin_account.inc.php +++ b/admin/inc/class.admin_account.inc.php @@ -370,7 +370,7 @@ class admin_account { $entry = lang('Entries'); } - if (is_array($counts) && $counts['total'] && Api\Hooks::exists('deleteaccount', $app)) + if (Api\Hooks::exists('deleteaccount', $app)) { $content['delete_apps'][] = $app; $sel_options['delete_apps'][] = array(