From fc02cb053c705c2e102ae8327cf678b7edb7a0d1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 9 Feb 2009 00:58:27 +0000 Subject: [PATCH] Minor esthetical change --- htdocs/admin/ihm.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index 9838164c2b1..12877f0252b 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2008 Laurent Destailleur + * Copyright (C) 2004-2009 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -72,8 +72,8 @@ if (isset($_POST["action"]) && $_POST["action"] == 'update') dolibarr_set_const($db, "MAIN_SEARCHFORM_PRODUITSERVICE",$_POST["MAIN_SEARCHFORM_PRODUITSERVICE"]); dolibarr_set_const($db, "MAIN_SEARCHFORM_ADHERENT",$_POST["MAIN_SEARCHFORM_ADHERENT"]); - dolibarr_set_const($db, "MAIN_MOTD", $_POST["main_motd"]); - dolibarr_set_const($db, "MAIN_HOME", $_POST["main_home"]); + dolibarr_set_const($db, "MAIN_MOTD", dol_htmlcleanlastbr($_POST["main_motd"])); + dolibarr_set_const($db, "MAIN_HOME", dol_htmlcleanlastbr($_POST["main_home"])); $_SESSION["mainmenu"]=""; // Le gestionnaire de menu a pu changer