Merge pull request #1 from Dolisupport/Dolisupport-feature-hmtl-option-in-setup-module

Update actions_setmoduleoptions.inc.php
This commit is contained in:
Hans 2024-01-17 13:54:58 +01:00 committed by GitHub
commit cfee22d1db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +47,8 @@ if ($action == 'update' && is_array($arrayofparameters) && !empty($user->admin))
} else {
$val_const = GETPOST($key, 'int');
}
} else if ($val['type'] == 'html') {
$val_const = GETPOST($key, 'restricthtml');
} else {
$val_const = GETPOST($key, 'alpha');
}