Merge pull request #27583 from Dolisupport/develop

[NEW] Extend of module options Setup
This commit is contained in:
Laurent Destailleur 2024-01-17 17:54:18 +01:00 committed by GitHub
commit 36f0d7cab7
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');
}