diff --git a/htdocs/admin/fckeditor.php b/htdocs/admin/fckeditor.php index f43ddb281bd..6c40205e0e9 100644 --- a/htdocs/admin/fckeditor.php +++ b/htdocs/admin/fckeditor.php @@ -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; }