From 06844b220ff1deb4d94811ef0ddb57be77150aa9 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 30 Apr 2008 08:47:23 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20l'appelation=20des=20droits=20=E0=20chan?= =?UTF-8?q?g=E9e,=20pr=E9voir=20uniformisation=20TODO:=20Le=20chemin=20du?= =?UTF-8?q?=20fichier=20n'est=20pas=20pr=E9cis=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/document.php | 2 +- htdocs/ecm/docmine.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/document.php b/htdocs/document.php index 8b35a7bb743..8d0b6d457c1 100644 --- a/htdocs/document.php +++ b/htdocs/document.php @@ -309,7 +309,7 @@ if ($modulepart) if ($modulepart == 'ecm') { $user->getrights('ecm'); - if ($user->rights->ecm->lire) + if ($user->rights->ecm->read) { $accessallowed=1; } diff --git a/htdocs/ecm/docmine.php b/htdocs/ecm/docmine.php index 00a9bd9494e..880188c5033 100644 --- a/htdocs/ecm/docmine.php +++ b/htdocs/ecm/docmine.php @@ -190,7 +190,6 @@ while ($tmpecmdir && $result > 0) { $tmpecmdir=0; } - print 'S : '.$result->label.'
'; } //print img_picto('','object_dir').' '.$langs->trans("ECMRoot").''; print $s;