aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2005-12-29 10:40:32 +0000
committernikrou <nikrou@piwigo.org>2005-12-29 10:40:32 +0000
commit6a7a654094d5dbb75d5a5d0700bbc1740b3e22fb (patch)
tree926f24644f32ec3187127f0d38f75bc205127951
parentbf56ef443bb9c6404563181429b567366da4cce0 (diff)
Correction du bug 238
git-svn-id: http://piwigo.org/svn/branches/branch-1_5@992 68402e56-0260-453c-a942-63ccdbb3a9ee
-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
{