2
0
forked from Wavyzz/dolibarr

Debug v17

This commit is contained in:
Laurent Destailleur
2023-01-04 15:10:09 +01:00
parent a4472f52e2
commit eed3cdd9cc
37 changed files with 101 additions and 99 deletions

View File

@@ -61,10 +61,10 @@ $type = 'order';
include DOL_DOCUMENT_ROOT.'/core/actions_setmoduleoptions.inc.php';
if ($action == 'updateMask') {
$maskconstorder = GETPOST('maskconstorder', 'alpha');
$maskconstorder = GETPOST('maskconstorder', 'aZ09');
$maskorder = GETPOST('maskorder', 'alpha');
if ($maskconstorder) {
if ($maskconstorder && preg_match('/_MASK$/', $maskconstorder)) {
$res = dolibarr_set_const($db, $maskconstorder, $maskorder, 'chaine', 0, '', $conf->entity);
}