Merge pull request #15076 from FHenry/12.0_fix_margin_token

fix form token missing
This commit is contained in:
Laurent Destailleur 2020-10-22 15:49:56 +02:00 committed by GitHub
commit 88df2ef36d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,6 +158,7 @@ $head = marges_prepare_head($user);
$picto = 'margin';
print '<form method="post" name="sel" action="'.$_SERVER['PHP_SELF'].'">';
print '<input type="hidden" name="token" value="'.newToken().'">';
dol_fiche_head($head, $langs->trans('checkMargins'), $title, 0, $picto);