parent
3da9e53b03
commit
b91858863b
1 changed files with 1 additions and 1 deletions
|
|
@ -1654,7 +1654,7 @@ if ($action == 'create') {
|
|||
|
||||
// Modify
|
||||
if ($object->statut == Fichinter::STATUS_VALIDATED && ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('ficheinter', 'creer')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('ficheinter', 'ficheinter_advance', 'unvalidate')))) {
|
||||
print '<div class="inline-block divButAction"><a class="butAction" href="card.php?id='.$object->id.'&action=modify">';
|
||||
print '<div class="inline-block divButAction"><a class="butAction" href="card.php?id='.$object->id.'&action=modify&token='.newToken().'">';
|
||||
if (!getDolGlobalString('FICHINTER_DISABLE_DETAILS')) {
|
||||
print $langs->trans("Modify");
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue