replace dolibarr_del_const by dolibarr_set_const

This commit is contained in:
Lamrani Abdel 2022-11-28 13:21:10 +01:00
parent cdcd54e6fe
commit ffa246fd18

View File

@ -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;
} }