fixed messages when moving user accounts
This commit is contained in:
parent
60fc4cf2f5
commit
6fa703549e
|
@ -1,3 +1,8 @@
|
||||||
|
|
||||||
|
- fixed bugs:
|
||||||
|
fixed error messages when moving an user account
|
||||||
|
|
||||||
|
|
||||||
26.01.2005 0.4.8
|
26.01.2005 0.4.8
|
||||||
- allow "%" at the beginning of Samba home/profile path (1107998)
|
- allow "%" at the beginning of Samba home/profile path (1107998)
|
||||||
- fixed bugs:
|
- fixed bugs:
|
||||||
|
|
|
@ -1904,7 +1904,7 @@ function modifyuser($values,$values_old,$uselamdaemon=true) { // Will modify the
|
||||||
$i=0;
|
$i=0;
|
||||||
for ($i=0; $i<count($dn); $i++) {
|
for ($i=0; $i<count($dn); $i++) {
|
||||||
if ($_SESSION['groupDN'][$dn]['memberUid'][$i] == $values->general_username) unset ($_SESSION['groupDN'][$dn]['memberUid'][$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']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue