Fix: No spaces if welcome message is empty.
This commit is contained in:
parent
506d50cb88
commit
16c910daaf
@ -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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user