diff --git a/htdocs/admin/fckeditor.php b/htdocs/admin/fckeditor.php
index 833924295cb..c8dbc5f9d64 100644
--- a/htdocs/admin/fckeditor.php
+++ b/htdocs/admin/fckeditor.php
@@ -81,13 +81,13 @@ foreach($modules as $const => $desc)
{
dolibarr_set_const($db, "FCKEDITOR_ENABLE_DETAILS", "1",'chaine',0,'',$conf->entity);
}
- Header("Location: fckeditor.php");
+ Header("Location: ".$_SERVER["PHP_SELF"]);
exit;
}
if ($_GET["action"] == 'disable_'.strtolower($const))
{
dolibarr_del_const($db, "FCKEDITOR_ENABLE_".$const,$conf->entity);
- Header("Location: fckeditor.php");
+ Header("Location: ".$_SERVER["PHP_SELF"]);
exit;
}
}
@@ -161,7 +161,8 @@ print '
'."\n";
print '';
print_fiche_titre($langs->trans("TestSubmitForm"),'','');
print '