aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/user_list.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/admin/user_list.php b/admin/user_list.php
index dadb706c4..1a3d54f1f 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -261,9 +261,16 @@ if (isset($_POST['delete']) and count($collection) > 0)
$page['infos'],
sprintf(
l10n('%d users deleted'),
- count($collection)
+ count($collection)
)
);
+ $_values = array_values($collection);
+ foreach ($page['filtered_users'] as $_key => $_value)
+ {
+ if (in_array($_value['id'],$_values)) {
+ unset($page['filtered_users'][$_key]);
+ }
+ }
}
else
{