X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fimap_general.php;h=df7fefe2f242393fd9dfd48576039f9f6d61ae97;hp=21672e144ddc8048bb05bd6bba731711f021f7d7;hb=33565ec4a8517bd1ab7b8f30e4325c2e8855b069;hpb=43fdb2a474b990b8b7db21bfb05b30a70ac768a0;ds=inline diff --git a/functions/imap_general.php b/functions/imap_general.php index 21672e14..df7fefe2 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -363,6 +363,9 @@ function sqimap_find_displayable_name ($string) { if ( ereg('^(.+)<.*>', $string, $regs) ) { $string = ereg_replace ('"', '', $regs[1] ); + if( $string == '' || $string == ' ' ){ + $string = ' '; + } } elseif ( ereg('\((.*)\)', $string, $regs) ) { if( ( $regs[1] == '' ) || ( $regs[1] == ' ' ) ){