aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user_list.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2006-01-01 17:19:56 +0000
committernikrou <nikrou@piwigo.org>2006-01-01 17:19:56 +0000
commit00157ca52b5879726ac99ecccd0e06209435e03c (patch)
treed6e2ba9f056071ecc68a9ca388981a49ead9e227 /admin/user_list.php
parent9a83134d1f53da6993927a216a7e41b23768d7eb (diff)
merge -r960:997 from branches/branch-1_5 into trunk (bug 238 fixed)
git-svn-id: http://piwigo.org/svn/trunk@998 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/user_list.php')
-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 d06590248..f069dfe63 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)
)
);
+ foreach ($page['filtered_users'] as $filter_key => $filter_user)
+ {
+ if (in_array($filter_user['id'], $collection))
+ {
+ unset($page['filtered_users'][$filter_key]);
+ }
+ }
}
else
{