Fix: l'appelation des droits change, prvoir uniformisation

TODO: Le chemin du fichier n'est pas prcis
This commit is contained in:
Regis Houssin 2008-04-30 08:47:23 +00:00
parent 35d1eddc31
commit 06844b220f
2 changed files with 1 additions and 2 deletions

View File

@ -309,7 +309,7 @@ if ($modulepart)
if ($modulepart == 'ecm')
{
$user->getrights('ecm');
if ($user->rights->ecm->lire)
if ($user->rights->ecm->read)
{
$accessallowed=1;
}

View File

@ -190,7 +190,6 @@ while ($tmpecmdir && $result > 0)
{
$tmpecmdir=0;
}
print 'S : '.$result->label.'<br>';
}
//print img_picto('','object_dir').' <a href="'.DOL_URL_ROOT.'/ecm/index.php">'.$langs->trans("ECMRoot").'</a>';
print $s;