add session newtoken

This commit is contained in:
Frédéric FRANCE 2019-03-05 15:27:31 +01:00 committed by GitHub
parent 76dd9e42d2
commit 1bbf6737ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -761,6 +761,7 @@ if ($step == 3 && $datatoexport)
// un formulaire en plus pour recuperer les filtres
print '<form action="'.$_SERVER["PHP_SELF"].'?step=4&action=submitFormField&datatoexport='.$datatoexport.'" name="FilterField" method="post">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">';
print '<td>'.$langs->trans("Entities").'</td>';