From 6a7a654094d5dbb75d5a5d0700bbc1740b3e22fb Mon Sep 17 00:00:00 2001 From: nikrou Date: Thu, 29 Dec 2005 10:40:32 +0000 Subject: [PATCH] Correction du bug 238 git-svn-id: http://piwigo.org/svn/branches/branch-1_5@992 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 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 {