FIX stickler-ci
This commit is contained in:
parent
0a82efce07
commit
f69d592449
@ -112,7 +112,6 @@ if ($action == 'set') {
|
|||||||
} else {
|
} else {
|
||||||
setEventMessages($langs->trans("RecordSaved"), null, 'mesgs');
|
setEventMessages($langs->trans("RecordSaved"), null, 'mesgs');
|
||||||
}
|
}
|
||||||
|
|
||||||
} elseif ($action == 'setcolors') {
|
} elseif ($action == 'setcolors') {
|
||||||
$event_color = preg_replace('/[^0-9a-f#]/i', '', (string) GETPOST('event_past_color', 'alphanohtml'));
|
$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);
|
$res = dolibarr_set_const($db, 'AGENDA_EVENT_PAST_COLOR', $event_color, 'chaine', 0, '', $conf->entity);
|
||||||
@ -140,8 +139,7 @@ if ($action == 'set') {
|
|||||||
} else {
|
} else {
|
||||||
setEventMessage($langs->trans('SetupSaved'));
|
setEventMessage($langs->trans('SetupSaved'));
|
||||||
}
|
}
|
||||||
}
|
} elseif ($action == 'specimen') { // For orders
|
||||||
elseif ($action == 'specimen') { // For orders
|
|
||||||
$modele = GETPOST('module', 'alpha');
|
$modele = GETPOST('module', 'alpha');
|
||||||
|
|
||||||
$commande = new CommandeFournisseur($db);
|
$commande = new CommandeFournisseur($db);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user