Fix add missing token
This commit is contained in:
parent
6f75e24fd7
commit
0a38f9e8aa
@ -241,6 +241,8 @@ if ($action != "updateRate") {
|
|||||||
|
|
||||||
$form = new Form($db);
|
$form = new Form($db);
|
||||||
print '<form action="'.$_SERVER["PHP_SELF"].'" method="post" name="formulaire">';
|
print '<form action="'.$_SERVER["PHP_SELF"].'" method="post" name="formulaire">';
|
||||||
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
|
|
||||||
print '<table><tr>';
|
print '<table><tr>';
|
||||||
|
|
||||||
print ' <td>'.$langs->trans('Date').'</td>';
|
print ' <td>'.$langs->trans('Date').'</td>';
|
||||||
@ -286,6 +288,8 @@ if ($action == "updateRate") {
|
|||||||
|
|
||||||
$form = new Form($db);
|
$form = new Form($db);
|
||||||
print '<form action="'.$_SERVER["PHP_SELF"].'" method="post" name="formtoupdaterate">';
|
print '<form action="'.$_SERVER["PHP_SELF"].'" method="post" name="formtoupdaterate">';
|
||||||
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
|
|
||||||
print '<table><tr>';
|
print '<table><tr>';
|
||||||
print ' <td>'.$langs->trans('Date').'</td>';
|
print ' <td>'.$langs->trans('Date').'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user