From 00157ca52b5879726ac99ecccd0e06209435e03c Mon Sep 17 00:00:00 2001 From: nikrou Date: Sun, 1 Jan 2006 17:19:56 +0000 Subject: 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 --- admin/user_list.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3