Fix missing token

This commit is contained in:
Maxime Kohlhaas 2020-04-04 18:57:51 +02:00
parent fe876b96fe
commit 60bd0e49ec
4 changed files with 4 additions and 0 deletions

View File

@ -290,6 +290,7 @@ if ($modecompta == 'CREANCES-DETTES')
// Show Array
$i = 0;
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="token" value="'.newToken().'">'."\n";
// Extra parameters management
foreach ($headerparams as $key => $value)
{

View File

@ -195,6 +195,7 @@ $name = array();
// Show array
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="token" value="'.newToken().'">'."\n";
// Extra parameters management
foreach ($headerparams as $key => $value)
{

View File

@ -352,6 +352,7 @@ if ($modecompta != 'CREANCES-DETTES') {
// Show array
$i = 0;
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="token" value="'.newToken().'">'."\n";
// Extra parameters management
foreach ($headerparams as $key => $value)
{

View File

@ -300,6 +300,7 @@ if ($result) {
// Show array
$i = 0;
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="token" value="'.newToken().'">'."\n";
// Extra parameters management
foreach ($headerparams as $key => $value)
{