|
@@ -93,11 +93,11 @@ if ((float) DOL_VERSION >= 6) {
|
|
|
}
|
|
|
|
|
|
if ($action == 'updateMask') {
|
|
|
- $maskconstorder = GETPOST('maskconstorder', 'alpha');
|
|
|
- $maskorder = GETPOST('maskorder', 'alpha');
|
|
|
+ $maskconst = GETPOST('maskconst', 'alpha');
|
|
|
+ $maskvalue = GETPOST('maskRecruitmentJobPosition', 'alpha');
|
|
|
|
|
|
- if ($maskconstorder) {
|
|
|
- $res = dolibarr_set_const($db, $maskconstorder, $maskorder, 'chaine', 0, '', $conf->entity);
|
|
|
+ if ($maskconst) {
|
|
|
+ $res = dolibarr_set_const($db, $maskconst, $maskvalue, 'chaine', 0, '', $conf->entity);
|
|
|
}
|
|
|
|
|
|
if (!($res > 0)) {
|