Fix to allow html content

This commit is contained in:
Laurent Destailleur 2021-07-08 17:31:41 +02:00
parent 01e272fb8c
commit a44d646946

View File

@ -114,7 +114,7 @@ if (GETPOST('save', 'alpha'))
$error++;
}
$fckeditor_test = GETPOST('formtestfield');
$fckeditor_test = GETPOST('formtestfield', 'restricthtml');
if (!empty($fckeditor_test)) {
if (!dolibarr_set_const($db, 'FCKEDITOR_TEST', $fckeditor_test, 'chaine', 0, '', $conf->entity)) {
$error++;