Correction du bug 238

git-svn-id: http://piwigo.org/svn/branches/branch-1_5@992 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou 2005-12-29 10:40:32 +00:00
parent bf56ef443b
commit 6a7a654094

View file

@ -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
{