Fix: No spaces if welcome message is empty.

This commit is contained in:
Laurent Destailleur 2008-06-14 10:39:38 +00:00
parent 506d50cb88
commit 16c910daaf

View File

@ -47,7 +47,7 @@ print_fiche_titre($langs->trans("HomeArea"));
if (! empty($conf->global->MAIN_MOTD))
{
$conf->global->MAIN_MOTD=eregi_replace('<br[ /]*>','',$conf->global->MAIN_MOTD);
$conf->global->MAIN_MOTD=eregi_replace('<br[ /]*>$','',$conf->global->MAIN_MOTD);
if (! empty($conf->global->MAIN_MOTD))
{
print "\n<!-- Start of welcome text -->\n";