mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 16:33:48 +01:00
- LSsession :: loadLSrights() : correction d'un bug suite aux mofications
récentes.
This commit is contained in:
parent
ef6e0eda4d
commit
78b227d489
1 changed files with 1 additions and 1 deletions
|
@ -1041,7 +1041,7 @@ class LSsession {
|
|||
if ($object = new $conf['LSobject']()) {
|
||||
if ($object -> loadData($dn)) {
|
||||
$listDns=$object -> getValue($conf['attr']);
|
||||
$valKey = (isset($conf['attr_value']))?$conf['attr_value']:'dn';
|
||||
$valKey = (isset($conf['attr_value']))?$conf['attr_value']:'%{dn}';
|
||||
$val = $this -> LSuserObject -> getFData($valKey);
|
||||
if (is_array($listDns)) {
|
||||
if (in_array($val,$listDns)) {
|
||||
|
|
Loading…
Reference in a new issue