Clean branch
This commit is contained in:
parent
363af97d47
commit
81038fbfe7
1 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue