2
0
forked from Wavyzz/dolibarr

Merge revert

This commit is contained in:
Laurent Destailleur
2025-06-14 01:22:23 +02:00
parent c34622a124
commit 464dbe40fa
8 changed files with 688 additions and 1 deletions

View File

@@ -126,6 +126,16 @@ if (GETPOST('action') == 'disable_specialchar') {
if (GETPOST('save', 'alpha')) {
$error = 0;
$fckeditor_skin = GETPOST('fckeditor_skin', 'alpha');
if (!empty($fckeditor_skin)) {
$result = dolibarr_set_const($db, 'FCKEDITOR_SKIN', $fckeditor_skin, 'chaine', 0, '', $conf->entity);
if ($result <= 0) {
$error++;
}
} else {
$error++;
}
$fckeditor_test = GETPOST('formtestfield', 'restricthtml');
if (!empty($fckeditor_test)) {
$result = dolibarr_set_const($db, 'FCKEDITOR_TEST', $fckeditor_test, 'chaine', 0, '', $conf->entity);