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;
|
exit;
|
||||||
}
|
}
|
||||||
if ($action == 'disable_'.strtolower($const)) {
|
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"]);
|
header("Location: ".$_SERVER["PHP_SELF"]);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user