diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php index 0bede5a6b4d37..fc5b6a8c93387 100644 --- a/htdocs/fourn/facture/card.php +++ b/htdocs/fourn/facture/card.php @@ -3584,9 +3584,9 @@ function setRadioForTypeOfInvoice() { // Show link for "recalculate" if ($object->getVentilExportCompta() == 0) { $s = '' . $langs->trans("ReCalculate") . ' '; - $s .= 'id . '&action=calculate&calculationrule=totalofround">' . $langs->trans("Mode1") . ''; + $s .= 'id . '&action=calculate&token='.newToken().'&calculationrule=totalofround">' . $langs->trans("Mode1") . ''; $s .= ' / '; - $s .= 'id . '&action=calculate&calculationrule=roundoftotal">' . $langs->trans("Mode2") . ''; + $s .= 'id . '&action=calculate&token='.newToken().'&calculationrule=roundoftotal">' . $langs->trans("Mode2") . ''; print '