correction on permissions
This commit is contained in:
parent
ace1681f31
commit
f1be574489
@ -746,7 +746,7 @@ else
|
||||
|
||||
if ($object->statut == 0 && $num_prod > 0)
|
||||
{
|
||||
if ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && ! empty($user->rights->livraison->creer))
|
||||
if ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && ! empty($user->rights->expedition->livraison->creer))
|
||||
|| (! empty($conf->global->MAIN_USE_ADVANCED_PERMS) && ! empty($user->rights->expedition->livraison_advance->validate)))
|
||||
{
|
||||
print '<a class="butAction" href="'.$_SERVER['PHP_SELF'].'?id='.$object->id.'&action=valid">'.$langs->trans("Validate").'</a>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user