fixed problem when deleting users

这个提交包含在:
Roland Gruber 2006-06-29 19:38:38 +00:00
父节点 fb6202551c
当前提交 bfb4f24c93
共有 2 个文件被更改,包括 10 次插入0 次删除

查看文件

@ -3,6 +3,7 @@
-> Kolab: fixed problem with message about missing password
-> Unix groups: fixed auto GID
-> Shadow: account expiration date was incorrect in some time zones
-> User list: fixed problems when deleting users and translated GIDs are activated (1503367)
24.05.2006 1.0.2

查看文件

@ -414,6 +414,15 @@ class lamList {
elseif (isset($_POST['del'])){
// search for checkboxes
$accounts = array_keys($_POST, "on");
// skip trans_primary box
for ($i = 0; $i < sizeof($accounts); $i++) {
if ($accounts[$i] === 'trans_primary') {
unset($accounts[$i]);
$accounts = array_values($accounts);
break;
}
}
// build DN list
$_SESSION['delete_dn'] = array();
for ($i = 0; $i < sizeof($accounts); $i++) {
$_SESSION['delete_dn'][] = $this->entries[$accounts[$i]]['dn'];