Clean branch

This commit is contained in:
atm-thibaultf 2023-08-30 17:30:40 +02:00
parent 363af97d47
commit 81038fbfe7

View file

@ -118,13 +118,13 @@ if ($action == 'set_default') {
}
} elseif ($action == 'sethideexternaluser') {
//Set hide external user into combox or select
$status = GETPOST('status', 'alpha');
if (dolibarr_set_const($db, "USER_HIDE_EXTERNAL_IN_COMBOBOX", $status, 'chaine', 0, '', $conf->entity) > 0) {
header("Location: ".$_SERVER["PHP_SELF"]);
exit;
} else {
dol_print_error($db);
$status = GETPOST('status', 'alpha');
if (dolibarr_set_const($db, "USER_HIDE_EXTERNAL_IN_COMBOBOX", $status, 'chaine', 0, '', $conf->entity) > 0) {
header("Location: " . $_SERVER["PHP_SELF"]);
exit;
} else {
dol_print_error($db);
}
}