fixed messages when moving user accounts

This commit is contained in:
Roland Gruber 2005-02-07 15:06:23 +00:00
parent 60fc4cf2f5
commit 6fa703549e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
- fixed bugs:
fixed error messages when moving an user account
26.01.2005 0.4.8
- allow "%" at the beginning of Samba home/profile path (1107998)
- fixed bugs:

View File

@ -1904,7 +1904,7 @@ function modifyuser($values,$values_old,$uselamdaemon=true) { // Will modify the
$i=0;
for ($i=0; $i<count($dn); $i++) {
if ($_SESSION['groupDN'][$dn]['memberUid'][$i] == $values->general_username) unset ($_SESSION['groupDN'][$dn]['memberUid'][$i]);
$_SESSION['groupDN'][$dn]['memberUid'][$i] = array_values($_SESSION['groupDN'][$dn]['memberUid'][$i]);
$_SESSION['groupDN'][$dn]['memberUid'][$i] = array_values($_SESSION['groupDN'][$dn]['memberUid']);
}
}
}