mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +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 = new $conf['LSobject']()) {
|
||||||
if ($object -> loadData($dn)) {
|
if ($object -> loadData($dn)) {
|
||||||
$listDns=$object -> getValue($conf['attr']);
|
$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);
|
$val = $this -> LSuserObject -> getFData($valKey);
|
||||||
if (is_array($listDns)) {
|
if (is_array($listDns)) {
|
||||||
if (in_array($val,$listDns)) {
|
if (in_array($val,$listDns)) {
|
||||||
|
|
Loading…
Reference in a new issue