2
0
forked from Wavyzz/dolibarr

Fix #yogosha5737

This commit is contained in:
Laurent Destailleur
2021-03-25 13:33:25 +01:00
parent 172b615d6c
commit c98f38a209
3 changed files with 14 additions and 3 deletions

View File

@@ -33,9 +33,11 @@ if (!$user->admin || empty($conf->modulebuilder->enabled)) {
$action = GETPOST('action', 'aZ09');
$backtopage = GETPOST('backtopage', 'alpha');
/*
* Actions
*/
if ($action == "update") {
$res1 = dolibarr_set_const($db, 'MODULEBUILDER_SPECIFIC_README', GETPOST('MODULEBUILDER_SPECIFIC_README', 'restricthtml'), 'chaine', 0, '', $conf->entity);
$res2 = dolibarr_set_const($db, 'MODULEBUILDER_ASCIIDOCTOR', GETPOST('MODULEBUILDER_ASCIIDOCTOR', 'nohtml'), 'chaine', 0, '', $conf->entity);