From 16c910daafe8173a172e6e8062c31c58888e19e4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 14 Jun 2008 10:39:38 +0000 Subject: [PATCH] Fix: No spaces if welcome message is empty. --- htdocs/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/index.php b/htdocs/index.php index de68530dd26..0f019ac3ad7 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -47,7 +47,7 @@ print_fiche_titre($langs->trans("HomeArea")); if (! empty($conf->global->MAIN_MOTD)) { - $conf->global->MAIN_MOTD=eregi_replace('','',$conf->global->MAIN_MOTD); + $conf->global->MAIN_MOTD=eregi_replace('$','',$conf->global->MAIN_MOTD); if (! empty($conf->global->MAIN_MOTD)) { print "\n\n";