mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
replace dolibarr_del_const by dolibarr_set_const
This commit is contained in:
parent
cdcd54e6fe
commit
ffa246fd18
|
|
@ -100,7 +100,7 @@ foreach ($modules as $const => $desc) {
|
|||
exit;
|
||||
}
|
||||
if ($action == 'disable_'.strtolower($const)) {
|
||||
dolibarr_del_const($db, "FCKEDITOR_ENABLE_".$const, $conf->entity);
|
||||
dolibarr_set_const($db, "FCKEDITOR_ENABLE_".$const, 0);
|
||||
header("Location: ".$_SERVER["PHP_SELF"]);
|
||||
exit;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user