Skip to content

Commit

Permalink
Update card.php
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Jul 1, 2024
1 parent fb2576c commit 6e44851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/fichinter/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -1654,7 +1654,7 @@

// 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&token='.newToken().">';
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 {
Expand Down

0 comments on commit 6e44851

Please sign in to comment.