Fix: l'appelation des droits change, prvoir uniformisation
TODO: Le chemin du fichier n'est pas prcis
This commit is contained in:
parent
35d1eddc31
commit
06844b220f
@ -309,7 +309,7 @@ if ($modulepart)
|
||||
if ($modulepart == 'ecm')
|
||||
{
|
||||
$user->getrights('ecm');
|
||||
if ($user->rights->ecm->lire)
|
||||
if ($user->rights->ecm->read)
|
||||
{
|
||||
$accessallowed=1;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user