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:
parent
bf56ef443b
commit
6a7a654094
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue