fixed issue with delete all

This commit is contained in:
Roland Gruber 2018-11-20 18:45:24 +01:00
parent 42bca3db59
commit fe913bd5bf
1 changed files with 3 additions and 0 deletions

View File

@ -632,6 +632,9 @@ class lamList {
// build DN list // build DN list
$_SESSION['delete_dn'] = array(); $_SESSION['delete_dn'] = array();
for ($i = 0; $i < sizeof($accounts); $i++) { for ($i = 0; $i < sizeof($accounts); $i++) {
if ($accounts[$i] == 'tableSelectAll') {
continue;
}
$_SESSION['delete_dn'][] = base64_decode($accounts[$i]); $_SESSION['delete_dn'][] = base64_decode($accounts[$i]);
} }
if (sizeof($accounts) > 0) { if (sizeof($accounts) > 0) {