From 78b227d48993f343c1ed9c359b2617ee1450bc15 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sat, 6 Dec 2008 00:27:18 +0000 Subject: [PATCH] =?UTF-8?q?-=20LSsession=20::=20loadLSrights()=20:=20corre?= =?UTF-8?q?ction=20d'un=20bug=20suite=20aux=20mofications=20=20=20r=C3=A9c?= =?UTF-8?q?entes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trunk/includes/class/class.LSsession.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/includes/class/class.LSsession.php b/trunk/includes/class/class.LSsession.php index 575e30fe..4b6a5f53 100644 --- a/trunk/includes/class/class.LSsession.php +++ b/trunk/includes/class/class.LSsession.php @@ -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)) {