2
0
forked from Wavyzz/dolibarr

Fix $_SESSION['newtoken'] must be newToken()

This commit is contained in:
Laurent Destailleur
2019-12-18 23:12:31 +01:00
parent db5672ae90
commit f44b85f557
453 changed files with 676 additions and 676 deletions

View File

@@ -92,7 +92,7 @@ llxHeader('', $langs->trans("ModulebuilderSetup"));
$linkback = '<a href="'.($backtopage ? $backtopage : DOL_URL_ROOT.'/admin/modules.php').'">'.$langs->trans("BackToModuleList").'</a>';
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<input type="hidden" name="token" value="'.newToken().'">';
print '<input type="hidden" name="action" value="update">';
print load_fiche_titre($langs->trans("ModuleSetup").' '.$langs->trans('Modulebuilder'), $linkback);