FIX stickler-ci

This commit is contained in:
lvessiller 2022-07-13 17:38:18 +02:00
parent 0a82efce07
commit f69d592449

View File

@ -112,7 +112,6 @@ if ($action == 'set') {
} else {
setEventMessages($langs->trans("RecordSaved"), null, 'mesgs');
}
} elseif ($action == 'setcolors') {
$event_color = preg_replace('/[^0-9a-f#]/i', '', (string) GETPOST('event_past_color', 'alphanohtml'));
$res = dolibarr_set_const($db, 'AGENDA_EVENT_PAST_COLOR', $event_color, 'chaine', 0, '', $conf->entity);
@ -140,8 +139,7 @@ if ($action == 'set') {
} else {
setEventMessage($langs->trans('SetupSaved'));
}
}
elseif ($action == 'specimen') { // For orders
} elseif ($action == 'specimen') { // For orders
$modele = GETPOST('module', 'alpha');
$commande = new CommandeFournisseur($db);