Fix add missing token

This commit is contained in:
Laurent Destailleur 2020-12-16 15:16:23 +01:00
parent 6f75e24fd7
commit 0a38f9e8aa

View File

@ -241,6 +241,8 @@ if ($action != "updateRate") {
$form = new Form($db);
print '<form action="'.$_SERVER["PHP_SELF"].'" method="post" name="formulaire">';
print '<input type="hidden" name="token" value="'.newToken().'">';
print '<table><tr>';
print ' <td>'.$langs->trans('Date').'</td>';
@ -286,6 +288,8 @@ if ($action == "updateRate") {
$form = new Form($db);
print '<form action="'.$_SERVER["PHP_SELF"].'" method="post" name="formtoupdaterate">';
print '<input type="hidden" name="token" value="'.newToken().'">';
print '<table><tr>';
print ' <td>'.$langs->trans('Date').'</td>';
print '<td>';